diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-04-04 14:06:12 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-04-04 14:06:12 +0000 |
commit | 875bfd77063e2162bf6ea12ffbfbacccc6b0d84f (patch) | |
tree | 2a28adf3c70a2c4571205c5da82852aed023a60a | |
parent | 28abb7b85be42c975ae7eeb5bcc5ca09e4b5906e (diff) |
libs/core: do not consider alternative routing tables in luci.model.network for now
-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 ecfaa84dc..64961160a 100644 --- a/libs/core/luasrc/model/network.lua +++ b/libs/core/luasrc/model/network.lua @@ -614,7 +614,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.target == addr and rt.mask == mask then + if not rt.table and rt.target == addr and rt.mask == mask then return net, s end end |