* Make sure the interface matches to the route if given. This fixes problem 1 of

bug #6243.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37691 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-07-22 13:00:23 +00:00
parent a03aca6e06
commit 4ea113cd53
+3 -1
View File
@@ -146,7 +146,9 @@ find_route(struct net_domain* _domain, const net_route* description)
&& domain->address_module->equal_addresses(route->mask,
description->mask)
&& domain->address_module->equal_addresses(route->gateway,
description->gateway))
description->gateway)
&& (description->interface == NULL
|| description->interface == route->interface))
return route;
}