Skip to content

Commit

Permalink
Merge pull request #19 from libp2p/fix/log-format
Browse files Browse the repository at this point in the history
nit: fix log format
  • Loading branch information
Stebalien authored Jul 31, 2019
2 parents 989b3bb + 9029627 commit cdec75a
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 cdec75a

Please sign in to comment.