fib: fix adjacency cli command issue

Type: fix

Signed-off-by: ShivaShankarK <shivaashankar1204@gmail.com>
Change-Id: I193023705003e664c50487fdfaa42b813604a078
This commit is contained in:
ShivaShankarK
2020-04-09 21:15:58 +05:30
committed by Neale Ranns
parent 12813d5e4a
commit ae9c45938b

View File

@ -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(),