From 8a804b52571d28ce53bc4e75300794332357409c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 5 Aug 2014 14:05:50 -0700 Subject: (1) Disable firewall openers (its easy to re-enable), (2) Do some prep work for making supernode topology hot-updatable. --- node/Switch.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/Switch.cpp') diff --git a/node/Switch.cpp b/node/Switch.cpp index 9b0e3e6e..1a28d4a5 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -461,7 +461,9 @@ bool Switch::unite(const Address &p1,const Address &p2,bool force) void Switch::contact(const SharedPtr &peer,const InetAddress &atAddr) { +#ifdef ZT_FIREWALL_OPENER_HOPS _r->sm->sendFirewallOpener(atAddr,ZT_FIREWALL_OPENER_HOPS); +#endif { Mutex::Lock _l(_contactQueue_m); -- cgit v1.2.3