diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-08-17 00:22:12 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-08-17 00:22:12 +0000 |
| commit | a94d98ae98ec45e34de287daf4c9d16be3ea62b9 (patch) | |
| tree | 0ced273e9e8509fea79e63dc0453951c3be4b85c | |
| parent | 8ca1689f1967c09d418ab68ec054f3c449a9ad45 (diff) | |
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
| -rw-r--r-- | bgpd/bgpd.c | 4 |
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 |
