diff options
author | ShivaShankarK <shivaashankar1204@gmail.com> | 2020-04-09 21:15:58 +0530 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-13 17:20:47 +0000 |
commit | c9750bfcaf0e5bdd363d2f429cdc04533964d3a1 (patch) | |
tree | 4bb9a9208772b1d8ef52fc3025654f6f91062f3c /src/vnet/adj/adj.c | |
parent | 83be6cb7908533ae8230d39909768d22a322cc3a (diff) |
fib: fix adjacency cli command issue
Type: fix
Signed-off-by: ShivaShankarK <shivaashankar1204@gmail.com>
Change-Id: I193023705003e664c50487fdfaa42b813604a078
(cherry picked from commit ae9c45938bdf6e180f83f02aed31113e60db20a9)
Diffstat (limited to 'src/vnet/adj/adj.c')
-rw-r--r-- | src/vnet/adj/adj.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c index ee416801007..03c82062cc0 100644 --- a/src/vnet/adj/adj.c +++ b/src/vnet/adj/adj.c @@ -610,9 +610,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(), |