luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)
authorDet <detobate@users.noreply.github.com>
Thu, 21 Dec 2023 21:53:03 +0000 (21:53 +0000)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2023 21:53:03 +0000 (22:53 +0100)
Signed-off-by: Richard Patterson <richard@helix.net.nz>
protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js

index 6cd7b330b67171e4d27fb1ccbb330dc1edbf3e24..ff242bb12c967cfd7c509bc85487d90a5cd9d10d 100644 (file)
@@ -29,6 +29,8 @@ return network.registerProtocol('dhcpv6', {
                o.value('60');
                o.value('64');
                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 = s.taboption('advanced', form.Value, 'clientid', _('Client ID to send when requesting DHCP'));
                o.datatype  = 'hexstring';