p2p: fix accidental termination of portMappingLoop (#28911)

pull/28935/head
Chris Ziogas 10 months ago committed by GitHub
parent 253447a4f5
commit 19af9008f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      p2p/server_nat.go

@ -127,7 +127,7 @@ func (srv *Server) portMappingLoop() {
} else if !ip.Equal(lastExtIP) {
log.Debug("External IP changed", "ip", extip, "interface", srv.NAT)
} else {
return
continue
}
// Here, we either failed to get the external IP, or it has changed.
lastExtIP = ip

Loading…
Cancel
Save