From: Daniel Walton Date: Tue, 26 Apr 2016 22:50:34 +0000 (+0000) Subject: "show ip route summary" has negative values for ebgp counters X-Git-Tag: frr-2.0-rc1~952^2~2^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=00cbc1f56c695c6b80c795f72ab46049730370fb;p=matthieu%2Ffrr.git "show ip route summary" has negative values for ebgp counters Signed-off-by: Daniel Walton Reviewed-by: Dinesh Dutt Ticket: CM-10612 --- diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index ad7447b825..1dcc55a9ff 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -2631,8 +2631,7 @@ vty_show_ip_route_summary (struct vty *vty, struct route_table *table) if (i == ZEBRA_ROUTE_BGP) { vty_out (vty, "%-20s %-20d %-20d %s", "ebgp", - rib_cnt[ZEBRA_ROUTE_BGP] - rib_cnt[ZEBRA_ROUTE_IBGP], - fib_cnt[ZEBRA_ROUTE_BGP] - fib_cnt[ZEBRA_ROUTE_IBGP], + rib_cnt[ZEBRA_ROUTE_BGP], fib_cnt[ZEBRA_ROUTE_BGP], VTY_NEWLINE); vty_out (vty, "%-20s %-20d %-20d %s", "ibgp", rib_cnt[ZEBRA_ROUTE_IBGP], fib_cnt[ZEBRA_ROUTE_IBGP],