From: Paul Donald Date: Tue, 19 Nov 2024 15:29:14 +0000 (+0100) Subject: luci-proto-ipv6: augment reqprefix description to include prefix also X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eadd59fc345a1d9fca66b200156bc382f603d12b;p=project%2Fluci.git luci-proto-ipv6: augment reqprefix description to include prefix also See https://github.com/openwrt/luci/issues/7397 to match changes in odhcp6c where one can now also specify the prefix Signed-off-by: Paul Donald --- diff --git a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js index ff242bb12c..235bbe2cb3 100644 --- a/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js +++ b/protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js @@ -19,8 +19,9 @@ return network.registerProtocol('dhcpv6', { o.value('force', _('force', 'DHCPv6 address request mode')); o.value('none', _('disabled', 'DHCPv6 address request mode')); o.default = 'try'; - - o = s.taboption('general', form.Value, 'reqprefix', _('Request IPv6-prefix of length')); + o = s.taboption('general', form.Value, 'reqprefix', _('Request IPv6-prefix'), + _('Either a prefix length hint (e.g. 56) only, whereby the operator selects the prefix, or specify a prefix also (e.g. %s)') + .format('2001:db8::/56')); o.value('auto', _('Automatic')); o.value('no', _('disabled')); o.value('48');