Przeglądaj źródła

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
Matthias Schiffer 7 lat temu
rodzic
commit
04c3ebb902
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      package/gluon-core/check_site.lua

+ 1 - 1
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