Bug fix!
This commit is contained in:
parent
a90ab3f5d6
commit
bd78ffd669
@ -212,6 +212,8 @@ func (r *remoteFSM) stateServer_onProbe(msg controlMsg[packetProbe]) {
|
||||
func (r *remoteFSM) stateServer_onPingTimer() {
|
||||
conf := r.conf()
|
||||
if time.Since(r.lastSeen) > timeoutInterval && conf.Up {
|
||||
// Reset trace ID to ensure connection goes up on next SYN.
|
||||
r.traceID = 0
|
||||
conf.Up = false
|
||||
r.updateConf(conf)
|
||||
r.logf("Timeout.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user