X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fadj%2Fadj.c;h=c601e6bd19dd02f300dc6199007f2c0feafc5bc4;hb=ae9c45938bdf6e180f83f02aed31113e60db20a9;hp=3a2b2dd3925d79a8562ae25a649223e5bb7d6349;hpb=3ebebc3a2fe47f1222ba035e04ccd8caed0cf58f;p=vpp.git 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(),