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

<DETAILED DESCRIPTION (REPLACE)>
This commit is contained in:
Sid Khot 2016-07-26 10:23:46 -07:00
parent 4f2125df1f
commit 87e8267a83

View File

@ -7268,8 +7268,6 @@ bgp_config_write (struct vty *vty)
/* ENCAPv6 configuration. */ /* ENCAPv6 configuration. */
write += bgp_config_write_family (vty, bgp, AFI_IP6, SAFI_ENCAP); write += bgp_config_write_family (vty, bgp, AFI_IP6, SAFI_ENCAP);
vty_out (vty, " exit%s", VTY_NEWLINE);
write++; write++;
} }
return write; return write;