(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:
parent
e3c5ada3a7
commit
8a804b5257
12 changed files with 48 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue