summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/test_socket.c')
-rw-r--r--src/vppinfra/test_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/test_socket.c b/src/vppinfra/test_socket.c
index ea0ae658943..3a0e6b29ce6 100644
--- a/src/vppinfra/test_socket.c
+++ b/src/vppinfra/test_socket.c
@@ -99,7 +99,7 @@ test_socket_main (unformat_input_t * input)
break;
if_verbose ("%v", s->rx_buffer);
- _vec_len (s->rx_buffer) = 0;
+ vec_set_len (s->rx_buffer, 0);
}
error = clib_socket_close (s);