From ee8682ac75b5b97038a52953b66e26b94d6410c8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 26 Mar 2019 15:23:51 -0700 Subject: Temporarily disable the symmetric NAT port prediction code since the current version adds protocol overhead and probably is not that effective. --- node/SelfAwareness.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/SelfAwareness.cpp') diff --git a/node/SelfAwareness.cpp b/node/SelfAwareness.cpp index 61db22ea..225d1dc2 100644 --- a/node/SelfAwareness.cpp +++ b/node/SelfAwareness.cpp @@ -124,6 +124,7 @@ void SelfAwareness::clean(int64_t now) } } +#if 0 std::vector SelfAwareness::getSymmetricNatPredictions() { /* This is based on ideas and strategies found here: @@ -206,5 +207,6 @@ std::vector SelfAwareness::getSymmetricNatPredictions() return r; } +#endif } // namespace ZeroTier -- cgit v1.2.3