summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ipv6/htdocs/luci-static
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-11-19 16:29:14 +0100
committerPaul Donald <newtwen+github@gmail.com>2024-11-30 15:39:22 +0100
commiteadd59fc345a1d9fca66b200156bc382f603d12b (patch)
tree81727727ab24266df94152d5f0810451b2e3294b /protocols/luci-proto-ipv6/htdocs/luci-static
parentf3d26a2a560d8ae526c617eb1c28821ec900fa7a (diff)
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 <newtwen+github@gmail.com>
Diffstat (limited to 'protocols/luci-proto-ipv6/htdocs/luci-static')
-rw-r--r--protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js5
1 files changed, 3 insertions, 2 deletions
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('<code>2001:db8::/56</code>'));
o.value('auto', _('Automatic'));
o.value('no', _('disabled'));
o.value('48');