summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-10-27 16:58:20 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-10-27 16:58:20 +0000
commit56395af70588c8fda89bf5ef327df64b5efbeb67 (patch)
treed3289e371b8296bc8e09d5e3464e331a040c31c6 /bgpd
parent8fb8a504e2c7c216b34c58e5658d84cb7dbe79b0 (diff)
[bgpd] trivial: non C99 u_int.._t should be uint.._t
2006-10-27 Paul Jakma <paul.jakma@sun.com> * bgp_route.c: (bgp_table_stats) oops, u_intXX_t should be uintXX_t
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/ChangeLog5
-rw-r--r--bgpd/bgp_route.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index 701627c8..2b40456c 100644
--- a/bgpd/ChangeLog
+++ b/bgpd/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-27 Paul Jakma <paul.jakma@sun.com>
+
+ * bgp_route.c: (bgp_table_stats) oops, u_intXX_t should be
+ uintXX_t
+
2006-10-19 Paul Jakma <paul.jakma@sun.com>
* bgpd.c: (peer_new) bgp element of peer absolutely must be
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 3584b21a..3cae06e2 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -8640,7 +8640,7 @@ bgp_table_stats (struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi)
vty_out (vty, "%30s: ", "\% announced ");
vty_out (vty, "%12.2f%s",
100 * (float)ts.counts[BGP_STATS_SPACE] /
- (float)((u_int64_t)1UL << ts.counts[BGP_STATS_MAXBITLEN]),
+ (float)((uint64_t)1UL << ts.counts[BGP_STATS_MAXBITLEN]),
VTY_NEWLINE);
vty_out (vty, "%30s: ", "/8 equivalent ");
vty_out (vty, "%12.2f%s",