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 and Hiteon88 committed Apr 12, 2024
1 parent fba6f60 commit 4e7be5d
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 4e7be5d

Please sign in to comment.