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:
f94f236
)
libs/core: remove route enabled check in network model after netifd update in OpenWrt...
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 13 Sep 2012 08:50:59 +0000
(08:50 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 13 Sep 2012 08:50:59 +0000
(08:50 +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 607276f3c8f4df8930ed27f6a4cb5cc13319b601..c2c2e66b0a3d6e4dc8f68bbdf1b13a6fbf99f358 100644
(file)
--- a/
libs/core/luasrc/model/network.lua
+++ b/
libs/core/luasrc/model/network.lua
@@
-594,7
+594,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.
enabled and rt.
target == addr and rt.mask == mask then
+ if rt.target == addr and rt.mask == mask then
return net, s
end
end