From effe3ea281f5d0df1c1c12c9367b5161277dfe77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Sun, 14 Dec 2025 19:43:45 +0100 Subject: [PATCH] luci-mod-network: update dhcpv6_pd_min_len values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit odhcpd will allow a greater range of PD prefix lengths, so update the UI to reflect this. Signed-off-by: David Härdeman --- .../htdocs/luci-static/resources/view/network/interfaces.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 281a38ff46..6312e4efe2 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -1045,7 +1045,8 @@ return view.extend({ so = ss.taboption('ipv6', form.Value, 'dhcpv6_pd_min_len', _('PD 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