diff --git a/p2p/net/nat/nat.go b/p2p/net/nat/nat.go index 046627289d..cdddaeaec5 100644 --- a/p2p/net/nat/nat.go +++ b/p2p/net/nat/nat.go @@ -190,7 +190,7 @@ func (nat *NAT) establishMapping(m *mapping) { } m.setExternalPort(newport) - log.Debugf("NAT Mapping: %s --> %s (%s)", m.ExternalPort(), m.InternalPort(), m.Protocol()) + log.Debugf("NAT Mapping: %d --> %d (%s)", m.ExternalPort(), m.InternalPort(), m.Protocol()) if oldport != 0 && newport != oldport { log.Debugf("failed to renew same port mapping: ch %d -> %d", oldport, newport) }