(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

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