summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Kammer <j.kammer@eurodata.de>2007-04-09 14:03:25 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2007-04-09 14:03:25 -0500
commit071e1c9b194138e404942d62dce53780b69d5e4a (patch)
treefd532683aa622d09ffa8da7602938d9de9995190
parentfc4dc72017e8208111866382782640117d03fb5f (diff)
downloadquagga-as4-statsbugfix.patch.tar.bz2
quagga-as4-statsbugfix.patch.tar.xz
Applying quagga-as4-statsbugfix.patchquagga-as4-statsbugfix.patch
-rw-r--r--bgpd/bgp_route.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 041abd87..c6b9ff7f 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -8718,6 +8718,10 @@ bgp_table_stats (struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi)
(float)ts.counts[BGP_STATS_SPACE] /
(float)(1UL << (ts.counts[BGP_STATS_MAXBITLEN] - 24)));
break;
+ case BGP_STATS_ASN_HIGHEST:
+ vty_out (vty, "%-30s: ", table_stats_strs[i]);
+ vty_out (vty, "%12s", as2str(ts.counts[i]));
+ break;
default:
vty_out (vty, "%-30s: ", table_stats_strs[i]);
vty_out (vty, "%12llu", ts.counts[i]);