summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 1a3d2e34..238bd01c 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -2014,7 +2014,7 @@ peer_flag_modify_action (struct peer *peer, u_int32_t flag)
else
{
peer->v_start = BGP_INIT_START_TIMER;
- bgp_peer_disable(peer, NULL);
+ bgp_peer_enable(peer);
}
}
else