summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-16 13:50:29 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-16 13:50:29 -0700
commit1d0654bd14890cfe09512a708d7628c475fc5fd7 (patch)
treed8802d4f96a0a1a4d2041134d1cd4783f794f632 /node/SelfAwareness.cpp
parent463442eb6f2b4d29406bbf727e8a4f11596a1eac (diff)
parenta425bbc67301bf486fe5b0aba8adb59ae791403e (diff)
downloadinfinitytier-1d0654bd14890cfe09512a708d7628c475fc5fd7.tar.gz
infinitytier-1d0654bd14890cfe09512a708d7628c475fc5fd7.zip
Merge pull request #182 from keesbos/rootserver
Renamed supernode to rootserver
Diffstat (limited to 'node/SelfAwareness.cpp')
-rw-r--r--node/SelfAwareness.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/SelfAwareness.cpp b/node/SelfAwareness.cpp
index d7c0e5cc..5fc8be2a 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->getBestSupernode());
+ SharedPtr<Peer> sn(RR->topology->getBestRootserver());
if (sn) {
Path *snp = sn->getBestPath(now);
if (snp) {