luci-mod-network: update dhcpv6_pd_min_len values
authorDavid Härdeman <redacted>
Sun, 14 Dec 2025 18:43:45 +0000 (19:43 +0100)
committerPaul Donald <redacted>
Fri, 19 Dec 2025 12:18:43 +0000 (13:18 +0100)
odhcpd will allow a greater range of PD prefix lengths, so update the UI
to reflect this.

Signed-off-by: David Härdeman <redacted>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 281a38ff46c7fd0341080c2fa4f49bf688839dd0..6312e4efe2caadc1934b5cc378030899414a4f3a 100644 (file)
@@ -1045,7 +1045,8 @@ return view.extend({
 
                                        so = ss.taboption('ipv6', form.Value, 'dhcpv6_pd_min_len', _('<abbr title="Prefix Delegation">PD</abbr> minimum length'),
                                                _('Configures the minimum delegated prefix length assigned to a requesting downstream router, potentially overriding a requested prefix length. If left unspecified, the device will assign the smallest available prefix greater than or equal to the requested prefix.'));
-                                       so.datatype = 'range(1,62)';
+                                       so.placeholder = '62';
+                                       so.datatype = 'range(1,64)';
                                        so.depends('dhcpv6', 'server');
 
                                        /* This option is used by odhcpd. It can take IPv4/6 entries, although IPv4 DNS servers don't
git clone https://git.99rst.org/PROJECT