diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/server/fsm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/fsm.go b/pkg/server/fsm.go index 03ae7575..d0cc4f86 100644 --- a/pkg/server/fsm.go +++ b/pkg/server/fsm.go @@ -452,7 +452,7 @@ func (fsm *FSM) connectLoop() error { }).Debugf("failed to connect: %s", err) } - if fsm.state == bgp.BGP_FSM_ACTIVE && !fsm.pConf.GracefulRestart.State.PeerRestarting { + if fsm.state == bgp.BGP_FSM_ACTIVE { timer.Reset(time.Duration(tick) * time.Second) } } |