[bgpd] AS4 bugfix by Chris Caputo <ccaputo@alt.net>
commitaea339f72807c34a7916d8614e030069815e144c
authorDenis Ovsienko <pilot@etcnet.org>
Thu, 30 Apr 2009 13:16:22 +0000 (30 17:16 +0400)
committerDenis Ovsienko <pilot@etcnet.org>
Thu, 30 Apr 2009 13:16:22 +0000 (30 17:16 +0400)
tree7b0ab93dcfec82736f05ac39106096360e4ceeb5
parentc540835eaf0cb59921969537d8e94cc83bb717f5
[bgpd] AS4 bugfix by Chris Caputo <ccaputo@alt.net>

* bgpd/bgp_aspath.c: (aspath_make_str_count) "assert (len < str_size)" was
  getting hit under certain 4-byte ASN conditions. New realloc strategy.
* bgpd/bgp_aspath.c: (aspath_key_make) const warning fix.

"%d" -> "%u" 4-byte ASN corrections.  Prevent negative number when ASN is
above 2^31.
bgpd/bgp_aspath.c
bgpd/bgp_attr.c
bgpd/bgp_community.c
bgpd/bgp_debug.c
bgpd/bgp_ecommunity.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_packet.c
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgpd.c