summaryrefslogtreecommitdiff
path: root/osdep
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-14 22:23:56 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-14 22:23:56 -0700
commit24fce0be8632549ecd6061259d00ee786d0a2299 (patch)
tree1e4f8a178d8f13c6f39dfbfcc35e48aac6af5dc5 /osdep
parent740b34124f6e1d1092e8d22b1c03ee2c1beef4e7 (diff)
downloadinfinitytier-24fce0be8632549ecd6061259d00ee786d0a2299.tar.gz
infinitytier-24fce0be8632549ecd6061259d00ee786d0a2299.zip
No, definitely have to back out GitHub issue #385 (non-bisected routes) since this breaks IPv6 on OSX and probably IPv4 too if you were to encounter a 6-only situation.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/ManagedRoute.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp
index 9763d271..127f1b7d 100644
--- a/osdep/ManagedRoute.cpp
+++ b/osdep/ManagedRoute.cpp
@@ -450,6 +450,7 @@ bool ManagedRoute::sync()
// Create a device-bound default target if there is none in the system. This
// is to allow e.g. IPv6 default route to work even if there is no native
// IPv6 on your LAN.
+ /*
if (_target.isDefaultRoute()) {
if (_systemVia) {
if (_applied.count(_target)) {
@@ -464,6 +465,7 @@ bool ManagedRoute::sync()
}
}
}
+ */
#endif // __BSD__ ------------------------------------------------------------