Commit f3e64c7f authored by Steven Allen's avatar Steven Allen

nit: fix log format

parent 2736f3ac
......@@ -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)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment