diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-15 09:29:54 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-15 09:29:54 +0900 |
commit | dae80bd84b3e504a7e45a4a20631c8056047281e (patch) | |
tree | e33dbeff2f0ea06e41355a3ec86607f57820cdbf /pkg/server | |
parent | bcf31a33d3674ef13a43e5ab55cffe258b837cbf (diff) |
pkg/server: enable active connection with graceful restart
No reason why active connection with graceful restart is disabled.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'pkg/server')
-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) } } |