VPP-1426: CLI crash on 'set int feature'
[vpp.git] / src / vnet / feature / feature.c
index e1cea21..6525bcb 100644 (file)
@@ -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)
     {