projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/core: do not consider alternative routing tables in luci.model.network for now
[project/luci.git]
/
libs
/
core
/
luasrc
/
model
/
network.lua
diff --git
a/libs/core/luasrc/model/network.lua
b/libs/core/luasrc/model/network.lua
index ecfaa84dc1707dc1f95c74d554524738ab40e539..64961160af60a4098894f70c042378897e0958e0 100644
(file)
--- 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