(1) Disable firewall openers (its easy to re-enable), (2) Do some prep work for making supernode topology hot-updatable.

This commit is contained in:
Adam Ierymenko 2014-08-05 14:05:50 -07:00
parent e3c5ada3a7
commit 8a804b5257
12 changed files with 48 additions and 3 deletions

View file

@ -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)
{