libs/core: do not consider alternative routing tables in luci.model.network for now
This commit is contained in:
parent
28abb7b85b
commit
875bfd7706
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ function get_status_by_route(self, addr, mask)
|
||||||
if s and s.route then
|
if s and s.route then
|
||||||
local rt
|
local rt
|
||||||
for _, rt in ipairs(s.route) do
|
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
|
return net, s
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue