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:
7a2e1bd
)
gpe: fix gpe enable/disable command
94/9694/2
author
Florin Coras
<fcoras@cisco.com>
Fri, 1 Dec 2017 12:54:06 +0000
(
04:54
-0800)
committer
Chris Luke
<chris_luke@comcast.com>
Sat, 2 Dec 2017 01:07:08 +0000
(
01:07
+0000)
Return error if not input provided.
Change-Id: I4a68fafaf4efd74395e513baa7f18fa55b83de87
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/lisp-gpe/lisp_gpe.c
patch
|
blob
|
history
diff --git
a/src/vnet/lisp-gpe/lisp_gpe.c
b/src/vnet/lisp-gpe/lisp_gpe.c
index
8ee2a72
..
c7b3d88
100644
(file)
--- a/
src/vnet/lisp-gpe/lisp_gpe.c
+++ b/
src/vnet/lisp-gpe/lisp_gpe.c
@@
-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)
{