diff options
author | paul <paul> | 2007-04-10 19:20:29 +0000 |
---|---|---|
committer | paul <paul> | 2007-04-10 19:20:29 +0000 |
commit | fa5fca1b0f3cf1f8d3678f7a134377e30c48e839 (patch) | |
tree | d5bfb50df9f0ed6f3562f088e0106c92f6f53eb8 | |
parent | 329708168666e21c0ad09174e59c8bbfb0ee34f8 (diff) | |
download | quagga-fa5fca1b0f3cf1f8d3678f7a134377e30c48e839.tar.bz2 quagga-fa5fca1b0f3cf1f8d3678f7a134377e30c48e839.tar.xz |
[bgpd] bug #352: IPv6/Multicast address-family config not written out
2007-04-07 Paul Jakma <paul.jakma@sun.com>
* bgpd.c: (general) Fix bug #352
(bgp_config_write_family_header) write ipv6/multicast
address family header.
(bgp_config_write) write out ipv6 multicast AF config.
-rw-r--r-- | bgpd/ChangeLog | 7 | ||||
-rw-r--r-- | bgpd/bgpd.c | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index 7e964c95..fac0df90 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,10 @@ +2007-04-07 Paul Jakma <paul.jakma@sun.com> + + * bgpd.c: (general) Fix bug #352 + (bgp_config_write_family_header) write ipv6/multicast + address family header. + (bgp_config_write) write out ipv6 multicast AF config. + 2007-02-22 Paul Jakma <paul.jakma@sun.com> * bgp_fsm.c: (bgp_fsm_change_status) Handle state change into diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 3f841078..9852d659 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -4699,7 +4699,12 @@ bgp_config_write_family_header (struct vty *vty, afi_t afi, safi_t safi, vty_out (vty, "vpnv4 unicast"); } else if (afi == AFI_IP6) - vty_out (vty, "ipv6"); + { + vty_out (vty, "ipv6"); + + if (safi == SAFI_MULTICAST) + vty_out (vty, " multicast"); + } vty_out (vty, "%s", VTY_NEWLINE); @@ -4928,6 +4933,9 @@ bgp_config_write (struct vty *vty) /* IPv6 unicast configuration. */ write += bgp_config_write_family (vty, bgp, AFI_IP6, SAFI_UNICAST); + /* IPv6 multicast configuration. */ + write += bgp_config_write_family (vty, bgp, AFI_IP6, SAFI_MULTICAST); + write++; } return write; |