mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-12 20:28:27 +00:00
Plumbing through trusted path stuff to OneService.
This commit is contained in:
@ -447,6 +447,7 @@ ZT_PeerList *Node::peers() const
|
||||
p->paths[p->pathCount].lastReceive = path->lastReceived();
|
||||
p->paths[p->pathCount].active = path->active(_now) ? 1 : 0;
|
||||
p->paths[p->pathCount].preferred = ((bestPath)&&(*path == *bestPath)) ? 1 : 0;
|
||||
p->paths[p->pathCount].trustedPathId = RR->topology->getOutboundPathTrust(path->address());
|
||||
++p->pathCount;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user