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:
2881dec
)
VPP-1426: CLI crash on 'set int feature'
15/15115/5
author
Paul Vinciguerra
<pvinci@vinciconsulting.com>
Wed, 3 Oct 2018 02:02:16 +0000
(19:02 -0700)
committer
Florin Coras
<florin.coras@gmail.com>
Wed, 3 Oct 2018 16:50:07 +0000
(16:50 +0000)
Change-Id: Ib2221a43347c66940b6b5f71914a451ca4627d2f
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vnet/feature/feature.c
patch
|
blob
|
history
diff --git
a/src/vnet/feature/feature.c
b/src/vnet/feature/feature.c
index
e1cea21
..
6525bcb
100644
(file)
--- a/
src/vnet/feature/feature.c
+++ b/
src/vnet/feature/feature.c
@@
-414,7
+414,7
@@
set_interface_features_command_fn (vlib_main_t * vm,
/* Get a line of input. */
if (!unformat_user (input, unformat_line_input, line_input))
/* Get a line of input. */
if (!unformat_user (input, unformat_line_input, line_input))
-
goto done
;
+
return 0
;
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{