Browse Source

... route fix test

Adam Ierymenko 4 years ago
parent
commit
16a878adb1
1 changed files with 0 additions and 13 deletions
  1. 0 13
      service/OneService.cpp

+ 0 - 13
service/OneService.cpp

@@ -1968,19 +1968,6 @@ public:
 				if (!src)
 					continue;
 
-				// Ignore routes implied by local managed IPs since adding the IP adds the route
-#ifndef __APPLE__
-				bool haveRoute = false;
-				for(std::vector<InetAddress>::iterator ip(n.managedIps.begin());ip!=n.managedIps.end();++ip) {
-					if ((target->netmaskBits() == ip->netmaskBits())&&(target->containsAddress(*ip))) {
-						haveRoute = true;
-						break;
-					}
-				}
-				if (haveRoute)
-					continue;
-#endif
-
 				haveRouteTargets.insert(*target);
 
 #ifndef ZT_SDK