mirror of
https://github.com/openwrt/luci.git
synced 2025-12-22 01:44:35 +04:00
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:
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user