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>
This commit is contained in:
Paul Donald
2024-11-19 16:29:14 +01:00
parent f3d26a2a56
commit eadd59fc34

View File

@@ -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');