projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28abb7b
)
libs/core: do not consider alternative routing tables in luci.model.network for now
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 4 Apr 2013 14:06:12 +0000
(14:06 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 4 Apr 2013 14:06:12 +0000
(14:06 +0000)
libs/core/luasrc/model/network.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/model/network.lua
b/libs/core/luasrc/model/network.lua
index
ecfaa84
..
6496116
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