From e03f2b780a9ae28bdf270d36840b651fa723413e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 20 Jan 2016 10:52:30 +0100 Subject: luci-mod-admin-full: fx crash in interface model Signed-off-by: Jo-Philipp Wich --- modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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()) -- cgit v1.2.3