Selaa lähdekoodia

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.

Adam Ierymenko 9 vuotta sitten
vanhempi
commit
24fce0be86
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      osdep/ManagedRoute.cpp

+ 2 - 0
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__ ------------------------------------------------------------