diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-13 08:50:59 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-13 08:50:59 +0000 |
commit | 5164d55091ea4af25c86bbd95bfcddb375e1f1b5 (patch) | |
tree | eedc652226bb6892fc6a87583401c70249d00ee4 | |
parent | f94f2364400827055da1e0f76fe3e65ce77b759f (diff) |
libs/core: remove route enabled check in network model after netifd update in OpenWrt trunk
-rw-r--r-- | libs/core/luasrc/model/network.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua index 607276f3c..c2c2e66b0 100644 --- a/libs/core/luasrc/model/network.lua +++ b/libs/core/luasrc/model/network.lua @@ -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 |