mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
p2p/nat: fix log message
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
343277d9a1
commit
ca79cd0b46
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ func (srv *Server) portMappingLoop() {
|
||||||
// It was mapped!
|
// It was mapped!
|
||||||
m.extPort = int(p)
|
m.extPort = int(p)
|
||||||
m.nextTime = srv.clock.Now().Add(portMapRefreshInterval)
|
m.nextTime = srv.clock.Now().Add(portMapRefreshInterval)
|
||||||
if external != m.extPort {
|
if m.port != m.extPort {
|
||||||
log = newLogger(m.protocol, m.extPort, m.port)
|
log = newLogger(m.protocol, m.extPort, m.port)
|
||||||
log.Info("NAT mapped alternative port")
|
log.Info("NAT mapped alternative port")
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue