Factor out RemotePath subclass of Path -- no longer needed, just cruft.
This commit is contained in:
parent
40976c02a4
commit
16bc3e0398
16 changed files with 208 additions and 211 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue