summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ipv6/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-11-30 15:49:08 +0100
committerPaul Donald <newtwen+github@gmail.com>2024-11-30 15:49:08 +0100
commit98c04137b47dd5253cdfcf18e5b4ad6e68258c46 (patch)
tree86eedeb278217072281bc44d8ff17e7a77380bcc /protocols/luci-proto-ipv6/htdocs/luci-static/resources
parenteadd59fc345a1d9fca66b200156bc382f603d12b (diff)
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>
Diffstat (limited to 'protocols/luci-proto-ipv6/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js2
1 files changed, 2 insertions, 0 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 235bbe2cb3..2dac7b78f4 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
@@ -32,6 +32,8 @@ return network.registerProtocol('dhcpv6', {
o.default = 'auto';
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'));
+ o.default = '1';
+ o.rmempty = false;
o = s.taboption('advanced', form.Value, 'clientid', _('Client ID to send when requesting DHCP'));
o.datatype = 'hexstring';