projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules: Make luci-base sufficient to use luci apps
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
model
/
cbi
/
admin_network
/
ifaces.lua
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
index 06bce01fc4459adb2f8696b0e9c67d99424c51d8..8be354b448c17a4c2a943b86c8e0661ab43fea85 100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@
-53,7
+53,7
@@
local function get_ifstate(name, option)
m.uci:foreach("luci", "ifstate", function (s)
if s.interface == name then
m.uci:foreach("luci", "ifstate", function (s)
if s.interface == name then
- val =
m.uci:get("luci", s[".name"], option)
+ val =
s[option]
return false
end
end)
return false
end
end)