Skip to content

Commit

Permalink
Merge pull request #611 from etclabscore/fix/upnp-loop
Browse files Browse the repository at this point in the history
Fix UPnP unwanted termination
  • Loading branch information
ziogaschr authored Feb 2, 2024
2 parents 57ee386 + 68b70fb commit e56a929
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 e56a929

Please sign in to comment.