summaryrefslogtreecommitdiff
path: root/node/SocketManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/SocketManager.cpp')
-rw-r--r--node/SocketManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/SocketManager.cpp b/node/SocketManager.cpp
index 6f491012..37e83b5a 100644
--- a/node/SocketManager.cpp
+++ b/node/SocketManager.cpp
@@ -463,6 +463,7 @@ bool SocketManager::send(const InetAddress &to,bool tcp,bool autoConnectTcp,cons
return false;
}
+#ifdef ZT_FIREWALL_OPENER_DELAY
bool SocketManager::sendFirewallOpener(const InetAddress &to,int hopLimit)
{
if (to.isV4()) {
@@ -474,6 +475,7 @@ bool SocketManager::sendFirewallOpener(const InetAddress &to,int hopLimit)
}
return false;
}
+#endif
void SocketManager::poll(unsigned long timeout)
{