]> git.puffer.fish Git - mirror/frr.git/commitdiff
BGP: neighbor activate lines for ipv4 unicast are not in the sub context
authorDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 17 Aug 2016 00:22:12 +0000 (00:22 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 17 Aug 2016 00:22:12 +0000 (00:22 +0000)
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-12080

bgpd/bgpd.c

index 1a5270874cbc83be3594681fbfe378008a363377..a6265ad8bae4c471997bff01f4e9d32d805c30d0 100644 (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