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:
Adam Ierymenko 2019-03-26 15:23:51 -07:00
parent e3e5137757
commit ee8682ac75
3 changed files with 13 additions and 6 deletions

View file

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