summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-26 15:23:51 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-26 15:23:51 -0700
commitee8682ac75b5b97038a52953b66e26b94d6410c8 (patch)
tree4920200ff05a8d006aae1572edf067fc4915f41d /node/SelfAwareness.cpp
parente3e5137757de9aa1f16fd2f6669fff9ac951e782 (diff)
downloadinfinitytier-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.cpp2
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