Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fib: fix adjacency cli command issue
[vpp.git]
/
src
/
vnet
/
adj
/
adj.c
diff --git
a/src/vnet/adj/adj.c
b/src/vnet/adj/adj.c
index
3a2b2dd
..
c601e6b
100644
(file)
--- a/
src/vnet/adj/adj.c
+++ b/
src/vnet/adj/adj.c
@@
-613,9
+613,7
@@
adj_show (vlib_main_t * vm,
{
if (unformat (input, "%d", &ai))
;
{
if (unformat (input, "%d", &ai))
;
- else if (unformat (input, "sum"))
- summary = 1;
- else if (unformat (input, "summary"))
+ else if (unformat (input, "summary") || unformat (input, "sum"))
summary = 1;
else if (unformat (input, "%U",
unformat_vnet_sw_interface, vnet_get_main(),
summary = 1;
else if (unformat (input, "%U",
unformat_vnet_sw_interface, vnet_get_main(),