p2p: fix ip change log parameter (#30158)

This commit is contained in:
Nathan Jo 2024-07-15 17:15:35 +09:00 committed by GitHub
parent 79d2327771
commit 4bbe993252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }