summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp2
1 files changed, 2 insertions, 0 deletions
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> &peer,const InetAddress &atAddr)
{
+#ifdef ZT_FIREWALL_OPENER_HOPS
_r->sm->sendFirewallOpener(atAddr,ZT_FIREWALL_OPENER_HOPS);
+#endif
{
Mutex::Lock _l(_contactQueue_m);