BGP: neighbor activate lines for ipv4 unicast are not in the sub context

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>

Ticket: CM-12080
This commit is contained in:
Daniel Walton 2016-08-17 00:22:12 +00:00
parent 8ca1689f19
commit a94d98ae98

View File

@ -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