* 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user