From: ShivaShankarK Date: Thu, 9 Apr 2020 15:45:58 +0000 (+0530) Subject: fib: fix adjacency cli command issue X-Git-Tag: v20.09-rc0~230 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=ae9c45938bdf6e180f83f02aed31113e60db20a9 fib: fix adjacency cli command issue Type: fix Signed-off-by: ShivaShankarK Change-Id: I193023705003e664c50487fdfaa42b813604a078 --- 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(),