mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +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!
|
||||
m.extPort = int(p)
|
||||
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.Info("NAT mapped alternative port")
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue