luci-mod-network: Evidently hostid was not max 32 bits but 64 bits 🤷 6715/head
authorPaul Donald <newtwen@gmail.com>
Wed, 22 Nov 2023 04:18:06 +0000 (05:18 +0100)
committerPaul Donald <newtwen@gmail.com>
Wed, 22 Nov 2023 13:41:07 +0000 (14:41 +0100)
Signed-off-by: Paul Donald <newtwen@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 04b57a277de68f7f835f9cef60a15c288cb61dba..da0eeabb5a3541726b02d6e1a14393a1a275fcbe 100644 (file)
@@ -909,8 +909,8 @@ return view.extend({
 
                so = ss.option(form.Value, 'hostid',
                        _('IPv6-Suffix (hex)'),
-                       _('The IPv6 interface identifier (address suffix) as hexadecimal number (max. 8 chars).'));
-               so.datatype = 'and(rangelength(0,8),hexstring)';
+                       _('The IPv6 interface identifier (address suffix) as hexadecimal number (max. 16 chars).'));
+               so.datatype = 'and(rangelength(0,16),hexstring)';
 
                so = ss.option(form.DynamicList, 'tag',
                        _('Tag'),