diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-19 10:23:25 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-19 10:23:25 -0700 |
| commit | 7bae95836c8824a76e0299df776a708eb3e58576 (patch) | |
| tree | 67fd37bb38b209fffcc7e480004dbd298a507d10 /node/SelfAwareness.cpp | |
| parent | 07f84a99b4458b3ddf5c14b9ce9b7c1dc5e2763e (diff) | |
| download | infinitytier-7bae95836c8824a76e0299df776a708eb3e58576.tar.gz infinitytier-7bae95836c8824a76e0299df776a708eb3e58576.zip | |
Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address.
Diffstat (limited to 'node/SelfAwareness.cpp')
| -rw-r--r-- | node/SelfAwareness.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/SelfAwareness.cpp b/node/SelfAwareness.cpp index 5fc8be2a..9f7c41d7 100644 --- a/node/SelfAwareness.cpp +++ b/node/SelfAwareness.cpp @@ -118,7 +118,7 @@ void SelfAwareness::iam(const Address &reporter,const InetAddress &reporterPhysi // For all peers for whom we forgot an address, send a packet indirectly if // they are still considered alive so that we will re-establish direct links. - SharedPtr<Peer> sn(RR->topology->getBestRootserver()); + SharedPtr<Peer> sn(RR->topology->getBestRoot()); if (sn) { Path *snp = sn->getBestPath(now); if (snp) { |
