diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-02 13:33:56 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-02 13:33:56 -0700 |
| commit | 4f8253dcdb9e6ff2ae18639556811d13729fae2b (patch) | |
| tree | 7f60e7d5621522f65f97053138354fec7efc0686 /node/Node.cpp | |
| parent | 4931e449989f74b9518d15bc69521fdbefb313e7 (diff) | |
| download | infinitytier-4f8253dcdb9e6ff2ae18639556811d13729fae2b.tar.gz infinitytier-4f8253dcdb9e6ff2ae18639556811d13729fae2b.zip | |
Tweaks to path handling...
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index 39e24325..d2840bd0 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -416,7 +416,7 @@ ZT_PeerList *Node::peers() const p->role = RR->topology->isRoot(pi->second->identity()) ? ZT_PEER_ROLE_ROOT : ZT_PEER_ROLE_LEAF; std::vector< SharedPtr<Path> > paths(pi->second->paths()); - SharedPtr<Path> bestp(pi->second->getBestPath(_now,true)); + SharedPtr<Path> bestp(pi->second->getBestPath(_now)); p->pathCount = 0; for(std::vector< SharedPtr<Path> >::iterator path(paths.begin());path!=paths.end();++path) { memcpy(&(p->paths[p->pathCount].address),&((*path)->address()),sizeof(struct sockaddr_storage)); |
