luci-mod-admin-full: fx crash in interface model

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2016-01-20 10:52:30 +01:00
parent 8630a1dbfb
commit e03f2b780a

View file

@ -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())