p2p: fix ip change log parameter (#30158)
This commit is contained in:
parent
79d2327771
commit
4bbe993252
|
@ -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…
Reference in New Issue