From 2f77ee891911f6013997955e9f77d598aacd49ed Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Fri, 27 Sep 2019 23:01:50 +0800 Subject: lb: vpp hang when executing "lb flush" commands with more parameters. - get all vip list. - get all as list per vip. Ticket: VPP-1778 Type: fix Change-Id: I0d82f38960ef1264d04ac07589a555d01f6e8110 Signed-off-by: Hongjun Ni --- src/plugins/lb/cli.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/lb/cli.c b/src/plugins/lb/cli.c index a12a63354cc..4f64755f4d7 100644 --- a/src/plugins/lb/cli.c +++ b/src/plugins/lb/cli.c @@ -542,6 +542,12 @@ lb_flush_vip_command_fn (vlib_main_t * vm, } else if (unformat(line_input, "port %d", &port)) ; + else + { + error = clib_error_return (0, "unknown input '%U'", + format_unformat_error, line_input); + goto done; + } } if (port == 0) -- cgit 1.2.3-korg