From: Donald Sharp Date: Wed, 20 May 2015 00:47:21 +0000 (-0700) Subject: BGP OutQ counters sometimes display very high values X-Git-Tag: frr-2.0-rc1~1514 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e4af2c1f4b77647178b735deb28792dc4c5d3270;p=mirror%2Ffrr.git BGP OutQ counters sometimes display very high values --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 9f0452e92e..f32a215215 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -7671,7 +7671,7 @@ bgp_show_summary (struct vty *vty, struct bgp *bgp, int afi, int safi, char *del vty_out(vty, "%c", *delimit); if (!delimit) - vty_out (vty, "%5u %7d %7d %8d %4d %4lu ", + vty_out (vty, "%5u %7d %7d %8d %4d %4u ", peer->as, peer->open_in + peer->update_in + peer->keepalive_in + peer->notify_in + peer->refresh_in @@ -7684,7 +7684,7 @@ bgp_show_summary (struct vty *vty, struct bgp *bgp, int afi, int safi, char *del peer->sync[afi][safi]->update.count + peer->sync[afi][safi]->withdraw.count); else - vty_out (vty, "%5u %c %7d %c %7d %c %8d %c %4d %c %4lu %c", + vty_out (vty, "%5u %c %7d %c %7d %c %8d %c %4d %c %4u %c", peer->as, *delimit, peer->open_in + peer->update_in + peer->keepalive_in + peer->notify_in + peer->refresh_in