mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
p2p: fix accidental termination of portMappingLoop (#28911)
This commit is contained in:
parent
253447a4f5
commit
19af9008f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue