p2p: fix ip change log parameter (#30158)

pull/30176/head
Nathan Jo 4 months ago committed by GitHub
parent 79d2327771
commit 4bbe993252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      p2p/server_nat.go

@ -125,7 +125,7 @@ func (srv *Server) portMappingLoop() {
if err != nil { if err != nil {
log.Debug("Couldn't get external IP", "err", err, "interface", srv.NAT) log.Debug("Couldn't get external IP", "err", err, "interface", srv.NAT)
} else if !ip.Equal(lastExtIP) { } else if !ip.Equal(lastExtIP) {
log.Debug("External IP changed", "ip", extip, "interface", srv.NAT) log.Debug("External IP changed", "ip", ip, "interface", srv.NAT)
} else { } else {
continue continue
} }

Loading…
Cancel
Save