From 6b62e2fc788cd1f83f6634288a15724dfc42b0fd Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 26 Jan 2017 18:59:38 +0100 Subject: [PATCH] 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 --- package/gluon-core/check_site.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-core/check_site.lua b/package/gluon-core/check_site.lua index 61c7ae09..c78e89dc 100644 --- a/package/gluon-core/check_site.lua +++ b/package/gluon-core/check_site.lua @@ -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