mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-13 04:38:28 +00:00
Temporarily disable the symmetric NAT port prediction code since the current version adds protocol overhead and probably is not that effective.
This commit is contained in:
@ -124,6 +124,7 @@ void SelfAwareness::clean(int64_t now)
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
std::vector<InetAddress> SelfAwareness::getSymmetricNatPredictions()
|
||||
{
|
||||
/* This is based on ideas and strategies found here:
|
||||
@ -206,5 +207,6 @@ std::vector<InetAddress> SelfAwareness::getSymmetricNatPredictions()
|
||||
|
||||
return r;
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
Reference in New Issue
Block a user