summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-06 14:08:13 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-06 14:08:13 -0700
commit93bb934d4e77fd1436ebe81336d396fa769aa59b (patch)
tree37bdf28002a09429c02995e6dc2701fa1c021abe /node/SelfAwareness.cpp
parentfeddd946f9d3ac6a643968582610eb4ffaebb69d (diff)
downloadinfinitytier-93bb934d4e77fd1436ebe81336d396fa769aa59b.tar.gz
infinitytier-93bb934d4e77fd1436ebe81336d396fa769aa59b.zip
Some cleanup, docs, and Path -> Path > RemotePath refactor.
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 9f7c41d7..00015788 100644
--- a/node/SelfAwareness.cpp
+++ b/node/SelfAwareness.cpp
@@ -120,7 +120,7 @@ void SelfAwareness::iam(const Address &reporter,const InetAddress &reporterPhysi
// they are still considered alive so that we will re-establish direct links.
SharedPtr<Peer> sn(RR->topology->getBestRoot());
if (sn) {
- Path *snp = sn->getBestPath(now);
+ RemotePath *snp = sn->getBestPath(now);
if (snp) {
for(std::vector< SharedPtr<Peer> >::const_iterator p(rset.peersReset.begin());p!=rset.peersReset.end();++p) {
if ((*p)->alive(now)) {