check_site: dns.servers is mandatory if using dns
This commit is contained in:
parent
0229b522e2
commit
e3f0e1a04d
@ -42,7 +42,7 @@ end
|
||||
need_boolean('poe_passthrough', false)
|
||||
if need_table('dns', nil, false) then
|
||||
need_number('dns.cacheentries', false)
|
||||
need_string_array_match('dns.servers', '^[%x:]+$', false)
|
||||
need_string_array_match('dns.servers', '^[%x:]+$', true)
|
||||
end
|
||||
|
||||
if need_table('next_node', nil, false) then
|
||||
|
Loading…
Reference in New Issue
Block a user