Skip to content

Commit

Permalink
nit: fix log format
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jul 31, 2019
1 parent 989b3bb commit 9029627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/net/nat/nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9029627

Please sign in to comment.