summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgpd.c4
1 files changed, 3 insertions, 1 deletions
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