luci-mod-network: update dhcpv6_pd_min_len values
Some checks are pending
LuCI repo CodeQL Analysis / Analyze JavaScript and JSON (javascript-typescript) (push) Waiting to run

odhcpd will allow a greater range of PD prefix lengths, so update the UI
to reflect this.

Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
David Härdeman
2025-12-14 19:43:45 +01:00
committed by Paul Donald
parent e7213a5327
commit effe3ea281

View 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