diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-26 15:23:51 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-26 15:23:51 -0700 |
| commit | ee8682ac75b5b97038a52953b66e26b94d6410c8 (patch) | |
| tree | 4920200ff05a8d006aae1572edf067fc4915f41d /node/SelfAwareness.cpp | |
| parent | e3e5137757de9aa1f16fd2f6669fff9ac951e782 (diff) | |
| download | infinitytier-ee8682ac75b5b97038a52953b66e26b94d6410c8.tar.gz infinitytier-ee8682ac75b5b97038a52953b66e26b94d6410c8.zip | |
Temporarily disable the symmetric NAT port prediction code since the current version adds protocol overhead and probably is not that effective.
Diffstat (limited to 'node/SelfAwareness.cpp')
| -rw-r--r-- | node/SelfAwareness.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<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 |
