gpe: fix gpe enable/disable command
[vpp.git] / src / vnet / lisp-gpe / lisp_gpe.c
index 8ee2a72..c7b3d88 100644 (file)
@@ -321,7 +321,7 @@ lisp_gpe_enable_disable_command_fn (vlib_main_t * vm,
 
   /* Get a line of input. */
   if (!unformat_user (input, unformat_line_input, line_input))
-    return 0;
+    return clib_error_return (0, "expected enable | disable");
 
   while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
     {