summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgpd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 1a3fa2c921..a2d4c0101e 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -7530,7 +7530,6 @@ static void bgp_config_write_family(struct vty *vty, struct bgp *bgp, afi_t afi,
int bgp_config_write(struct vty *vty)
{
- int write = 0;
struct bgp *bgp;
struct peer_group *group;
struct peer *peer;
@@ -7541,9 +7540,6 @@ int bgp_config_write(struct vty *vty)
vty_out(vty, "bgp route-map delay-timer %u\n",
bm->rmap_update_timer);
- if (write)
- vty_out(vty, "!\n");
-
/* BGP configuration. */
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {