From 87e8267a836a9d5ebb33ec754c7478619a84cbd9 Mon Sep 17 00:00:00 2001 From: Sid Khot Date: Tue, 26 Jul 2016 10:23:46 -0700 Subject: [PATCH] bgpd: Fix for vtysh -m does not mark "end" of router bgp There was an exit added at the end of the BGP commands after we pulled the code from upstream. This was causing the reload scripts to fail. Removed this exit. Ticket: CM-11464 CM-11924 Reviewed By: CCR-4995 Testing Done: Manual --- bgpd/bgpd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index a06e95e244..49fc9e22a2 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -7268,8 +7268,6 @@ bgp_config_write (struct vty *vty) /* ENCAPv6 configuration. */ write += bgp_config_write_family (vty, bgp, AFI_IP6, SAFI_ENCAP); - vty_out (vty, " exit%s", VTY_NEWLINE); - write++; } return write;