Skip to content

Commit

Permalink
p2p: fix accidental termination of portMappingLoop (ethereum#28911)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr authored Feb 5, 2024
1 parent 253447a commit 19af900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/server_nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19af900

Please sign in to comment.