gluon-client-bridge: allow WLAN configs without ap section again
Fixes: 7ccdacd294
("treewide: rework check_site_lib.lua")
This commit is contained in:
parent
3e88331137
commit
208cd4d98c
@ -8,7 +8,7 @@ need_string_match(in_domain({'next_node', 'ip6'}), '^[%x:]+$', false)
|
|||||||
|
|
||||||
|
|
||||||
for _, config in ipairs({'wifi24', 'wifi5'}) do
|
for _, config in ipairs({'wifi24', 'wifi5'}) do
|
||||||
if need_table({config}, nil, false) then
|
if need_table({config, 'ap'}, nil, false) then
|
||||||
need_string(in_domain({config, 'ap', 'ssid'}))
|
need_string(in_domain({config, 'ap', 'ssid'}))
|
||||||
need_boolean({config, 'ap', 'disabled'}, false)
|
need_boolean({config, 'ap', 'disabled'}, false)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user