summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-12 11:30:22 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-12 11:30:22 -0700
commit96576757552f1b0ce002df3e904419b7bfca62f8 (patch)
tree488029d8d7c645b581293e95fe311ef599464c81 /node/Node.cpp
parent5d7174b162055340eb7622dd2e1e556c5a2dcd42 (diff)
downloadinfinitytier-96576757552f1b0ce002df3e904419b7bfca62f8.tar.gz
infinitytier-96576757552f1b0ce002df3e904419b7bfca62f8.zip
Plumbing through trusted path stuff to OneService.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 058df32d..13085028 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -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;
}
}