From 875bfd77063e2162bf6ea12ffbfbacccc6b0d84f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 4 Apr 2013 14:06:12 +0000 Subject: [PATCH] libs/core: do not consider alternative routing tables in luci.model.network for now --- libs/core/luasrc/model/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0