summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/sapi
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-10-11 16:04:21 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-10-11 20:16:28 +0000
commit39c93494829159238250a80b26851f4343cc5004 (patch)
tree0ea768af9ac1e51c61594eba8c91b7bbfbe86eb3 /src/plugins/hs_apps/sapi
parentd442d10432c0926b7c9bd46746270371027b55c2 (diff)
hsa: vpp_echo refactor quic nclients arg
Type: refactor Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: If8471d98053ae44cae07cdca6d269aa3c7df9887
Diffstat (limited to 'src/plugins/hs_apps/sapi')
-rw-r--r--src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c b/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
index 78cedbb2c6f..db777c8178c 100644
--- a/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
+++ b/src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
@@ -433,9 +433,8 @@ quic_echo_unformat_setup_vft (unformat_input_t * input, va_list * args)
static int
quic_echo_process_opts_cb (unformat_input_t * a)
{
- echo_main_t *em = &echo_main;
quic_echo_proto_main_t *eqm = &quic_echo_proto_main;
- if (unformat (a, "nclients %d/%d", &em->n_clients, &eqm->n_stream_clients))
+ if (unformat (a, "quic-streams %d", &eqm->n_stream_clients))
;
else if (unformat (a, "quic-setup %U", quic_echo_unformat_setup_vft))
;