Skip to content
Snippets Groups Projects
Commit b8588427 authored by takt's avatar takt Committed by Daniel Czerwonk
Browse files

Fix BGP reconnect (#244)

parent ece9aa02
Branches
Tags v0.0.1-pre4 v0.0.1-pre5
No related merge requests found
......@@ -295,9 +295,8 @@ func (fsm *FSM) startConnectRetryTimer() {
}
func (fsm *FSM) resetConnectRetryTimer() {
if !fsm.connectRetryTimer.Reset(fsm.connectRetryTime) {
<-fsm.connectRetryTimer.C
}
stopTimer(fsm.connectRetryTimer)
fsm.connectRetryTimer.Reset(fsm.connectRetryTime)
}
func (fsm *FSM) resetConnectRetryCounter() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment