gluon-core: add missing site check for next_node.name

This commit is contained in:
Matthias Schiffer 2018-04-14 07:54:02 +02:00
parent e536ba2f9b
commit 8f6208e90a
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -44,6 +44,7 @@ if need_table('dns', nil, false) then
end end
if need_table('next_node', nil, false) then if need_table('next_node', nil, false) then
need_string('next_node.name', false)
need_string_match('next_node.ip6', '^[%x:]+$', false) need_string_match('next_node.ip6', '^[%x:]+$', false)
need_string_match('next_node.ip4', '^%d+.%d+.%d+.%d+$', false) need_string_match('next_node.ip4', '^%d+.%d+.%d+.%d+$', false)
end end