Some cleanup, docs, and Path -> Path > RemotePath refactor.
This commit is contained in:
parent
feddd946f9
commit
93bb934d4e
9 changed files with 198 additions and 109 deletions
|
@ -733,7 +733,7 @@ bool Switch::_trySend(const Packet &packet,bool encrypt,uint64_t nwid)
|
|||
if (peer) {
|
||||
const uint64_t now = RR->node->now();
|
||||
|
||||
Path *viaPath = peer->getBestPath(now);
|
||||
RemotePath *viaPath = peer->getBestPath(now);
|
||||
if (!viaPath) {
|
||||
SharedPtr<Peer> relay;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue