luci-proto-ipv6: set recommended default for norelease

See https://github.com/openwrt/luci/issues/7410

Basically: RFC9096 updates the language in order to avoid DHCPv6 RELEASE
upon reboot to avoid re-addressing. (now: RELEASE == SHOULD NOT)

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2024-11-30 15:49:08 +01:00
parent eadd59fc34
commit 98c04137b4

View File

@@ -32,6 +32,8 @@ return network.registerProtocol('dhcpv6', {
o.default = 'auto'; o.default = 'auto';
o = s.taboption('general', form.Flag, 'norelease', _('Do not send a Release when restarting'), o = s.taboption('general', form.Flag, 'norelease', _('Do not send a Release when restarting'),
_('Enable to minimise the chance of prefix change after a restart')); _('Enable to minimise the chance of prefix change after a restart'));
o.default = '1';
o.rmempty = false;
o = s.taboption('advanced', form.Value, 'clientid', _('Client ID to send when requesting DHCP')); o = s.taboption('advanced', form.Value, 'clientid', _('Client ID to send when requesting DHCP'));
o.datatype = 'hexstring'; o.datatype = 'hexstring';