summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.cpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-06-17 18:42:23 -0700
committerGrant Limberg <glimberg@gmail.com>2015-06-17 18:42:23 -0700
commitdfdd46db80331104366747e336323095aba2c886 (patch)
tree9d7d65a6fcee14f59b9e07dca248a9ae3e180e4e /node/SelfAwareness.cpp
parentc59c74dddab862ade65938e630dc0f561fcb0c2f (diff)
parent87bb0086deadf3663c3e0ec1308e0d71a6473362 (diff)
downloadinfinitytier-dfdd46db80331104366747e336323095aba2c886.tar.gz
infinitytier-dfdd46db80331104366747e336323095aba2c886.zip
Merge branch 'adamierymenko-dev' into android-jni
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) {