Commented out block which ignores added routes if there already exists an IP in the route's range. Attempted fix for #600
This commit is contained in:
parent
a9c4ce38f0
commit
f7b3ffe8a0
2 changed files with 7 additions and 0 deletions
|
@ -1610,12 +1610,14 @@ public:
|
|||
bool haveRoute = false;
|
||||
|
||||
// Ignore routes implied by local managed IPs since adding the IP adds the route
|
||||
/*
|
||||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue