diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-20 10:52:30 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-20 10:52:37 +0100 |
commit | e03f2b780a9ae28bdf270d36840b651fa723413e (patch) | |
tree | d30d9d8c8ef118259bc50c77e8ffdfa4269f2615 /modules | |
parent | 8630a1dbfb5c8baa0b18bb31c5b05852e80d14c6 (diff) |
luci-mod-admin-full: fx crash in interface model
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 e092be6c3..2b6ed5056 100644 --- 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 @@ -373,7 +373,7 @@ for _, field in ipairs(s.children) do if next(field.deps) then local _, dep for _, dep in ipairs(field.deps) do - dep.deps.proto = net:proto() + dep.proto = net:proto() end else field:depends("proto", net:proto()) |