summaryrefslogtreecommitdiff
path: root/osdep
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-08 13:06:30 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-08 13:06:30 -0800
commit0b0b5da2402af9f3674121c7f71e8706b63f8f1a (patch)
tree9fdfcc86b9d71f7a93f2978bf460879aea1b0e6f /osdep
parent9c7ee5a21e2875baf3b1643101f660f41c903124 (diff)
parentf7b3ffe8a0ddab78a547560d164223747c93c4db (diff)
downloadinfinitytier-0b0b5da2402af9f3674121c7f71e8706b63f8f1a.tar.gz
infinitytier-0b0b5da2402af9f3674121c7f71e8706b63f8f1a.zip
Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into dev
Diffstat (limited to 'osdep')
-rw-r--r--osdep/ManagedRoute.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp
index a3746572..2289b23a 100644
--- a/osdep/ManagedRoute.cpp
+++ b/osdep/ManagedRoute.cpp
@@ -480,6 +480,10 @@ bool ManagedRoute::sync()
// Detect routes previously applied by ZT that don't exist in the system's route list. Re-apply these.
// NOTE: The following block was added in reaction to the macOS High Sierra 10.13.2 disappearing
// route issue. This comment should be removed once we're sure this block doesn't have any side-effects.
+ /*
+
+ // Commented out temporarily to test more generalized fix
+
bool found = false;
std::vector<_RTE> currRoutes(_getRTEs(_target,false));
for(std::vector<_RTE>::iterator r(currRoutes.begin());r!=currRoutes.end();++r) {
@@ -496,6 +500,7 @@ bool ManagedRoute::sync()
rt = _applied.find(rightt);
_applied.erase(rt, _applied.end());
}
+ */
if (!_applied.count(leftt)) {
_applied[leftt] = false; // not ifscoped