mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 14:48:17 +00:00
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
This commit is contained in:
@ -736,7 +736,7 @@ bool Switch::_trySend(const Packet &packet,bool encrypt,uint64_t nwid)
|
||||
return false; // sanity check: unconfigured network? why are we trying to talk to it?
|
||||
}
|
||||
|
||||
RemotePath *viaPath = peer->getBestPath(now);
|
||||
Path *viaPath = peer->getBestPath(now);
|
||||
SharedPtr<Peer> relay;
|
||||
if (!viaPath) {
|
||||
// See if this network has a preferred relay (if packet has an associated network)
|
||||
|
Reference in New Issue
Block a user