[bgpd] Fix triggerable crash when compiled with --disable-bgp-announcecvs_headquagga_cvs_final
commit750e814693050bc97391eec618aad9db798ee5e8
authorPaul Jakma <paul.jakma@sun.com>
Tue, 22 Jul 2008 21:11:48 +0000 (22 21:11 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Tue, 22 Jul 2008 21:11:48 +0000 (22 21:11 +0000)
tree03d3e27a68b0593002d8f73609235919c030e426
parent851a1a5c146b346d8b8f58fe3924baa5c208f865
[bgpd] Fix triggerable crash when compiled with --disable-bgp-announce

2008-07-22 Paul Jakma <paul.jakma@sun.com>

* HACKING: Document preference for compiler conditional code, over
  cpp conditional.
* configure.ac: DISABLE_BGP_ANNOUNCE always should be defined.
* bgp_{packet,route,advertise}.c: change to compiler testing of
  DISABLE_BGP_ANNOUNCE, rather than cpp.

2008-07-22 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp>

* bgp_packet.c: (bgp_update_packet_eor) Fix crash triggerable
  if a bgpd was compiled with --disable-bgp-announce and if GR is
  advertised by peer.
ChangeLog
HACKING
bgpd/ChangeLog
bgpd/bgp_advertise.c
bgpd/bgp_packet.c
bgpd/bgp_route.c
configure.ac