libs/core: remove route enabled check in network model after netifd update in OpenWrt trunk

This commit is contained in:
Jo-Philipp Wich 2012-09-13 08:50:59 +00:00
parent f94f236440
commit 5164d55091

View file

@ -594,7 +594,7 @@ function get_status_by_route(self, addr, mask)
if s and s.route then
local rt
for _, rt in ipairs(s.route) do
if rt.enabled and rt.target == addr and rt.mask == mask then
if rt.target == addr and rt.mask == mask then
return net, s
end
end