gluon-core: check_site.lua: only accept /64 as prefix6

A lot of our code does not actually work with other prefix lengths.

Fixes #1014
This commit is contained in:
Matthias Schiffer 2017-01-26 18:59:38 +01:00
parent 3e7434bca1
commit 6b62e2fc78
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ need_string 'timezone'
need_string_array('ntp_servers', false)
need_string_match('prefix6', '^[%x:]+/%d+$')
need_string_match('prefix6', '^[%x:]+/64$')
for _, config in ipairs({'wifi24', 'wifi5'}) do