mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
p2p: fix accidental termination of portMappingLoop (#28911)
This commit is contained in:
parent
253447a4f5
commit
19af9008f1
@ -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…
Reference in New Issue
Block a user