summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-01 19:12:20 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-01 19:12:20 -0700
commitecb6a1d84fc48dda029ff8ec321616fc14efd108 (patch)
treec092363ad3b50c7ea4b4bb771dae71dadf49373b
parent5341e32729e21b1880afe121e5c36bfa9cfefd00 (diff)
downloadinfinitytier-ecb6a1d84fc48dda029ff8ec321616fc14efd108.tar.gz
infinitytier-ecb6a1d84fc48dda029ff8ec321616fc14efd108.zip
docs
-rw-r--r--node/Node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index d45c5503..9f195a10 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -248,7 +248,7 @@ ZT1_ResultCode Node::processBackgroundTasks(uint64_t now,volatile uint64_t *next
// Request updated configuration for networks that need it
for(std::vector< SharedPtr<Network> >::const_iterator n(needConfig.begin());n!=needConfig.end();++n)
(*n)->requestConfiguration();
-
+
// Attempt to contact network preferred relays that we don't have direct links to
std::sort(networkRelays.begin(),networkRelays.end());
std::unique(networkRelays.begin(),networkRelays.end());
@@ -259,7 +259,7 @@ ZT1_ResultCode Node::processBackgroundTasks(uint64_t now,volatile uint64_t *next
rp->attemptToContactAt(RR,nr->second,now);
}
}
-
+
// Ping living or supernode/relay peers
_PingPeersThatNeedPing pfunc(RR,now,networkRelays);
RR->topology->eachPeer<_PingPeersThatNeedPing &>(pfunc);