luci-mod-admin-full: fx crash in interface model
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
8630a1dbfb
commit
e03f2b780a
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ for _, field in ipairs(s.children) do
|
||||||
if next(field.deps) then
|
if next(field.deps) then
|
||||||
local _, dep
|
local _, dep
|
||||||
for _, dep in ipairs(field.deps) do
|
for _, dep in ipairs(field.deps) do
|
||||||
dep.deps.proto = net:proto()
|
dep.proto = net:proto()
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
field:depends("proto", net:proto())
|
field:depends("proto", net:proto())
|
||||||
|
|
Loading…
Reference in a new issue