mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
server: don't try to connect right after fsm state becomes active
solves gobgpd <=> gobgpd connectivity problem. Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user