From 3b4a6a1bb0cc5059b1965282463c03ef4d14f874 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 2 Oct 2018 19:02:16 -0700 Subject: VPP-1426: CLI crash on 'set int feature' Change-Id: Ib2221a43347c66940b6b5f71914a451ca4627d2f Signed-off-by: Paul Vinciguerra --- src/vnet/feature/feature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.2.3-korg