Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: make _vec_len() read-only
[vpp.git]
/
src
/
plugins
/
hs_apps
/
echo_client.c
diff --git
a/src/plugins/hs_apps/echo_client.c
b/src/plugins/hs_apps/echo_client.c
index
1d33a85
..
b7bc85b
100644
(file)
--- a/
src/plugins/hs_apps/echo_client.c
+++ b/
src/plugins/hs_apps/echo_client.c
@@
-248,7
+248,7
@@
ec_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
conn_indices + vec_len (conn_indices) -
nconns_this_batch,
nconns_this_batch * sizeof (u32));
-
_vec_len (conn_indices) -= nconns_this_batch
;
+
vec_dec_len (conn_indices, nconns_this_batch)
;
}
/*