mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/network: Add logging on submatch fallthrough case
This commit is contained in:
parent
b87a9d9a7f
commit
407f429723
1 changed files with 2 additions and 0 deletions
|
|
@ -236,6 +236,8 @@ func sanitizeEnodeRemote(paddr net.Addr, baddr *BzzAddr) {
|
|||
remoteStr := fmt.Sprintf("@%s:%s", ip, string(hsSubmatch[2]))
|
||||
log.Debug("rewrote peer uaddr host/port", "addr", baddr)
|
||||
baddr.UAddr = regexpEnodeIP.ReplaceAll(baddr.UAddr, []byte(remoteStr))
|
||||
} else {
|
||||
log.Trace("passthrough handshake addr rewrite", "submatch", hsSubmatch[1])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue