aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/feature/feature.c
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-10-02 19:02:16 -0700
committerFlorin Coras <florin.coras@gmail.com>2018-10-03 16:50:07 +0000
commit3b4a6a1bb0cc5059b1965282463c03ef4d14f874 (patch)
treec865c334d927fbe2caec4275fd7d65ea9bd3d1d8 /src/vnet/feature/feature.c
parent2881dec8631629cf1fa415a1f63b8561590df275 (diff)
VPP-1426: CLI crash on 'set int feature'
Change-Id: Ib2221a43347c66940b6b5f71914a451ca4627d2f Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/feature/feature.c')
-rw-r--r--src/vnet/feature/feature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/feature/feature.c b/src/vnet/feature/feature.c
index e1cea21d7b6..6525bcbdce5 100644
--- 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))
- goto done;
+ return 0;
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{