diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-04-27 09:44:03 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-04-27 09:44:03 +0000 |
commit | 91cb8ea23f454592be9fb4565f0f477afdbcb0ec (patch) | |
tree | 13ab0be281afba0eade85d9410030193a8384ed3 /server/peer.go | |
parent | 99cccf981227a482cbd6404b664bd4f7cc9a1720 (diff) |
server: don't try to connect right after fsm state becomes active
solves gobgpd <=> gobgpd connectivity problem.
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go index 25411333..c99f5fd2 100644 --- a/server/peer.go +++ b/server/peer.go @@ -793,7 +793,6 @@ func (peer *Peer) connectLoop() error { case <-ticker.C: connect() case <-peer.getActiveCh: - connect() ticker = time.NewTicker(time.Duration(tick) * time.Second) } } |