Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
54e099f
)
lb: vpp hang when executing "lb flush" commands with more parameters.
29/22329/3
author
Hongjun Ni
<
[email protected]
>
Fri, 27 Sep 2019 15:01:50 +0000
(23:01 +0800)
committer
Ole Trøan
<
[email protected]
>
Mon, 30 Sep 2019 09:32:47 +0000
(09:32 +0000)
- get all vip list.
- get all as list per vip.
Ticket: VPP-1778
Type: fix
Change-Id: I0d82f38960ef1264d04ac07589a555d01f6e8110
Signed-off-by: Hongjun Ni <
[email protected]
>
src/plugins/lb/cli.c
patch
|
blob
|
history
diff --git
a/src/plugins/lb/cli.c
b/src/plugins/lb/cli.c
index
a12a633
..
4f64755
100644
(file)
--- 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)