Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

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 committed Jul 31, 2019
2 parents 2736f3a + f3e64c7 commit 2309445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 2309445

Please sign in to comment.