From: Jo-Philipp Wich Date: Wed, 20 Jan 2016 09:52:30 +0000 (+0100) Subject: luci-mod-admin-full: fx crash in interface model X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=e03f2b780a9ae28bdf270d36840b651fa723413e luci-mod-admin-full: fx crash in interface model Signed-off-by: Jo-Philipp Wich --- 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())