59b7625e54
* add check_site.lua to validate required field from site * make use of node_client_prefix6 if defined in site
4 lines
213 B
Lua
4 lines
213 B
Lua
need_string_match(in_domain({'prefix6'}), '^[%x:]+/64$', true)
|
|
need_string_match(in_domain({'node_client_prefix6'}), '^[%x:]+/64$', false)
|
|
need_string_match(in_domain({'prefix4'}), '^%d+.%d+.%d+.%d+/%d+$', false)
|