diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-07 11:13:17 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-07 11:13:17 -0700 |
| commit | b5c86b6ba4112b23e46170fe241b4688532b493e (patch) | |
| tree | 01d77467768c48efae59a5397eae119724bc4ceb /node/IncomingPacket.cpp | |
| parent | f2d2df2b112c8a644b718abc521af296a83b5337 (diff) | |
| download | infinitytier-b5c86b6ba4112b23e46170fe241b4688532b493e.tar.gz infinitytier-b5c86b6ba4112b23e46170fe241b4688532b493e.zip | |
Bunch more path refactoring. Peers no longer forget paths, but do not normally use expired paths. Expired paths might still be tried if nothing else is reachable.
Diffstat (limited to 'node/IncomingPacket.cpp')
| -rw-r--r-- | node/IncomingPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 3d2d586e..891607ed 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -1163,7 +1163,7 @@ bool IncomingPacket::_doCIRCUIT_TEST(const RuntimeEnvironment *RR,const SharedPt remainingHopsPtr += ZT_ADDRESS_LENGTH; SharedPtr<Peer> nhp(RR->topology->getPeer(nextHop[h])); if (nhp) { - SharedPtr<Path> nhbp(nhp->getBestPath(now)); + SharedPtr<Path> nhbp(nhp->getBestPath(now,false)); if ((nhbp)&&(nhbp->alive(now))) nextHopBestPathAddress[h] = nhbp->address(); } |
