Since the default for ipv4 unicast is to now assume
that the neighbor is activated, print out the
no neighbor 192.168.33.44 activate
line when it is explicitly turned off.
Ticket: CM-12809
Reported-by: Lou Berger <lberger@labn.net>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by:
" neighbor %s activate%s",
addr, VTY_NEWLINE);
}
+ else
+ {
+ if ((afi == AFI_IP) && (safi == SAFI_UNICAST))
+ {
+ if (!bgp_flag_check (bgp, BGP_FLAG_NO_DEFAULT_IPV4))
+ {
+ afi_header_vty_out (vty, afi, safi, write,
+ " no neighbor %s activate%s",
+ addr, VTY_NEWLINE);
+ }
+ }
+ }
}
/* addpath TX knobs */