From 04c3ebb90267f44eccea0ffbb9e7426703d47537 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 480b367c..9f51e148 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