summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/server/fsm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/fsm.go b/pkg/server/fsm.go
index 855066f4..03ae7575 100644
--- a/pkg/server/fsm.go
+++ b/pkg/server/fsm.go
@@ -466,7 +466,7 @@ func (fsm *FSM) connectLoop() error {
}).Debug("stop connect loop")
return nil
case <-timer.C:
- if fsm.state == bgp.BGP_FSM_ACTIVE && !fsm.pConf.GracefulRestart.State.PeerRestarting {
+ if fsm.state == bgp.BGP_FSM_ACTIVE {
go connect()
}
case <-fsm.getActiveCh: