Plumbing through trusted path stuff to OneService.
This commit is contained in:
parent
5d7174b162
commit
9657675755
5 changed files with 47 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue