]> git.puffer.fish Git - mirror/frr.git/commitdiff
[bgpd] trivial: non C99 u_int.._t should be uint.._t
authorPaul Jakma <paul.jakma@sun.com>
Fri, 27 Oct 2006 16:58:20 +0000 (16:58 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Fri, 27 Oct 2006 16:58:20 +0000 (16:58 +0000)
2006-10-27 Paul Jakma <paul.jakma@sun.com>

* bgp_route.c: (bgp_table_stats) oops, u_intXX_t should be
  uintXX_t

bgpd/ChangeLog
bgpd/bgp_route.c

index 701627c85e97f57fefef9be3cbb8e6774b585881..2b40456ca32249d6cd184f11a37be6b1a09f2c86 100644 (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
index 3584b21ab0d490324d8eb5269d8a9c9d80718bf0..3cae06e2877ffd6a574faa28d65c93db03877800 100644 (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",