Now with more worky.

This commit is contained in:
Adam Ierymenko 2017-10-25 13:27:28 -07:00
parent 459f1e7bfb
commit 71bdaa9508
4 changed files with 36 additions and 41 deletions

View file

@ -427,6 +427,8 @@ ZT_PeerList *Node::peers() const
p->versionRev = -1;
}
p->latency = pi->second->latency(_now);
if (p->latency >= 0xffff)
p->latency = -1;
p->role = RR->topology->role(pi->second->identity().address());
std::vector< SharedPtr<Path> > paths(pi->second->paths(_now));