From: Daniel Walton Date: Wed, 17 Aug 2016 00:22:12 +0000 (+0000) Subject: BGP: neighbor activate lines for ipv4 unicast are not in the sub context X-Git-Tag: frr-2.0-rc1~386^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a94d98ae98ec45e34de287daf4c9d16be3ea62b9;p=mirror%2Ffrr.git BGP: neighbor activate lines for ipv4 unicast are not in the sub context Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-12080 --- diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 1a5270874c..a6265ad8ba 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -6727,7 +6727,9 @@ bgp_config_write_peer_af (struct vty *vty, struct bgp *bgp, { if (bgp_flag_check (bgp, BGP_FLAG_NO_DEFAULT_IPV4)) { - vty_out (vty, " neighbor %s activate%s", addr, VTY_NEWLINE); + afi_header_vty_out(vty, afi, safi, write, + " neighbor %s activate%s", + addr, VTY_NEWLINE); } } else