aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShivaShankarK <shivaashankar1204@gmail.com>2020-04-09 21:15:58 +0530
committerNeale Ranns <nranns@cisco.com>2020-04-10 07:30:21 +0000
commitae9c45938bdf6e180f83f02aed31113e60db20a9 (patch)
tree8af921b1798d7a17a53b4546ac58635b064e17a6 /src
parent12813d5e4a7b858304093ce5f76026f456c79b98 (diff)
fib: fix adjacency cli command issue
Type: fix Signed-off-by: ShivaShankarK <shivaashankar1204@gmail.com> Change-Id: I193023705003e664c50487fdfaa42b813604a078
Diffstat (limited to 'src')
-rw-r--r--src/vnet/adj/adj.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c
index 3a2b2dd3925..c601e6bd19d 100644
--- 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))
;
- 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(),