mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-13 04:38:28 +00:00
Add TCP channel support for supernode list, make Peer pick the first path if all paths are equally dead.
This commit is contained in:
@ -752,13 +752,13 @@ bool Switch::_trySend(const Packet &packet,bool encrypt)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ZT_TRACE
|
||||
/* #ifdef ZT_TRACE
|
||||
if (via != peer) {
|
||||
TRACE(">> %s to %s via %s (%d)",Packet::verbString(packet.verb()),peer->address().toString().c_str(),via->address().toString().c_str(),(int)packet.size());
|
||||
} else {
|
||||
TRACE(">> %s to %s (%d)",Packet::verbString(packet.verb()),peer->address().toString().c_str(),(int)packet.size());
|
||||
}
|
||||
#endif
|
||||
#endif */
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user