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:
parent
e3e5137757
commit
ee8682ac75
3 changed files with 13 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue