summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic
diff options
context:
space:
mode:
authorfanxb <fxb_mail@163.com>2022-02-15 14:19:04 +0800
committerFlorin Coras <florin.coras@gmail.com>2022-02-15 20:29:22 +0000
commit3f03ca95b64f2d2b4a706242156bce1c65729b13 (patch)
treebd1382d7ff2ff5e7826c525e369ba24c71002220 /src/plugins/quic
parentf7040f01a57618c899de8d1feb30bcc70b0a45b9 (diff)
quic: fix quic_config_fn cfg cmd parse error
Type:fix Signed-off-by: fanxb <fxb_mail@163.com> Change-Id: I244f6ddd0a34e82ababd375646d3bb194602b5d5
Diffstat (limited to 'src/plugins/quic')
-rw-r--r--src/plugins/quic/quic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index a0bacb6237d..3655f9538b8 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -2963,7 +2963,7 @@ quic_config_fn (vlib_main_t * vm, unformat_input_t * input)
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{
- if (unformat (input, "fifo-size %U", unformat_memory_size, &tmp))
+ if (unformat (line_input, "fifo-size %U", unformat_memory_size, &tmp))
{
if (tmp >= 0x100000000ULL)
{
@@ -2974,9 +2974,9 @@ quic_config_fn (vlib_main_t * vm, unformat_input_t * input)
}
qm->udp_fifo_size = tmp;
}
- else if (unformat (input, "conn-timeout %u", &i))
+ else if (unformat (line_input, "conn-timeout %u", &i))
qm->connection_timeout = i;
- else if (unformat (input, "fifo-prealloc %u", &i))
+ else if (unformat (line_input, "fifo-prealloc %u", &i))
qm->udp_fifo_prealloc = i;
else
{