From: Jo-Philipp Wich Date: Thu, 4 Apr 2013 14:06:12 +0000 (+0000) Subject: libs/core: do not consider alternative routing tables in luci.model.network for now X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=875bfd77063e2162bf6ea12ffbfbacccc6b0d84f;p=project%2Fluci.git libs/core: do not consider alternative routing tables in luci.model.network for now --- 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