Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
teib: fix nh-table-id
[vpp.git]
/
src
/
vnet
/
teib
/
teib_cli.c
diff --git
a/src/vnet/teib/teib_cli.c
b/src/vnet/teib/teib_cli.c
index
fd9e55e
..
a23902e
100644
(file)
--- a/
src/vnet/teib/teib_cli.c
+++ b/
src/vnet/teib/teib_cli.c
@@
-40,10
+40,10
@@
teib_add (vlib_main_t * vm,
;
else if (unformat (line_input, "peer %U", unformat_ip_address, &peer))
;
;
else if (unformat (line_input, "peer %U", unformat_ip_address, &peer))
;
- else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
- ;
else if (unformat (line_input, "nh-table-id %d", &nh_table_id))
;
else if (unformat (line_input, "nh-table-id %d", &nh_table_id))
;
+ else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
+ ;
else
{
error = clib_error_return (0, "unknown input `%U'",
else
{
error = clib_error_return (0, "unknown input `%U'",