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

@ -64,12 +64,14 @@ public:
*/
void clean(int64_t now);
#if 0
/**
* If we appear to be behind a symmetric NAT, get predictions for possible external endpoints
*
* @return Symmetric NAT predictions or empty vector if none
*/
std::vector<InetAddress> getSymmetricNatPredictions();
#endif
private:
struct PhySurfaceKey