From 91cb8ea23f454592be9fb4565f0f477afdbcb0ec Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Mon, 27 Apr 2015 09:44:03 +0000 Subject: server: don't try to connect right after fsm state becomes active solves gobgpd <=> gobgpd connectivity problem. Signed-off-by: ISHIDA Wataru --- server/peer.go | 1 - 1 file changed, 1 deletion(-) (limited to 'server/peer.go') 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) } } -- cgit v1.2.3