[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
This commit is contained in:
Paul Jakma 2006-10-27 16:58:20 +00:00
parent 8fb8a504e2
commit 56395af705
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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",