summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-05 14:05:50 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-08-05 14:05:50 -0700
commit8a804b52571d28ce53bc4e75300794332357409c (patch)
tree0fe4c8c44ae12a61192e301aa0b51a02d8b4883e /node/Node.cpp
parente3c5ada3a70f71fe117319cd335a4462387c744d (diff)
downloadinfinitytier-8a804b52571d28ce53bc4e75300794332357409c.tar.gz
infinitytier-8a804b52571d28ce53bc4e75300794332357409c.zip
(1) Disable firewall openers (its easy to re-enable), (2) Do some prep work for making supernode topology hot-updatable.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index f2e6b3e4..7500e736 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -656,7 +656,9 @@ Node::ReasonForTermination Node::run()
lastPingCheck = now;
try {
_r->topology->eachPeer(Topology::PingPeersThatNeedPing(_r,now));
+#ifdef ZT_FIREWALL_OPENER_DELAY
_r->topology->eachPeer(Topology::OpenPeersThatNeedFirewallOpener(_r,now));
+#endif
} catch (std::exception &exc) {
LOG("unexpected exception running ping check cycle: %s",exc.what());
} catch ( ... ) {