mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
[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:
parent
8fb8a504e2
commit
56395af705
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user