gluon-client-bridge: allow WLAN configs without ap section again

Fixes: 7ccdacd294 ("treewide: rework check_site_lib.lua")
This commit is contained in:
Matthias Schiffer 2018-03-01 01:18:39 +01:00
parent 3e88331137
commit 208cd4d98c
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -8,7 +8,7 @@ need_string_match(in_domain({'next_node', 'ip6'}), '^[%x:]+$', false)
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_boolean({config, 'ap', 'disabled'}, false)
end