mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-27 12:05:23 +00:00
tcp ygg-over-ygg debug logging
This commit is contained in:
parent
8345ae1fa3
commit
85eec5ba8e
@ -407,6 +407,7 @@ func (t *tcp) handler(sock net.Conn, incoming bool, options tcpOptions) {
|
|||||||
if laddr.IsValid() || lsubnet.IsValid() {
|
if laddr.IsValid() || lsubnet.IsValid() {
|
||||||
// The local address is with the network address/prefix range
|
// The local address is with the network address/prefix range
|
||||||
// This would route ygg over ygg, which we don't want
|
// This would route ygg over ygg, which we don't want
|
||||||
|
t.link.core.log.Debugln("Dropping ygg-tunneled connection", local, remote)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user