lax check_site

This commit is contained in:
Maciej Krüger 2022-04-09 17:16:05 +02:00 committed by Alexander List
parent c67f17aa3f
commit 2473325406

View File

@ -27,7 +27,7 @@ need_string(in_site({'timezone'}))
need_string_array({'ntp_servers'}, false)
need_string_match(in_domain({'prefix4'}), '^%d+.%d+.%d+.%d+/%d+$', false)
need_string_match(in_domain({'prefix6'}), '^[%x:]+/64$')
need_string_match(in_domain({'prefix6'}), '^[%x:]+/%d+$')
need_string_array_match(in_domain({'extra_prefixes6'}), '^[%x:]+/%d+$', false)
local supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000}