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)
committerPaul Donald <newtwen@gmail.com>
Thu, 21 Dec 2023 21:54:34 +0000 (21:54 +0000)
Signed-off-by: Richard Patterson <richard@helix.net.nz>
(cherry picked from commit 4ad5f8111bc357d88390d914d82f0517ccbcf769)

protocols/luci-proto-ipv6/htdocs/luci-static/resources/protocol/dhcpv6.js

index 2e75cb8632812139c1af14c7710ecb28a6c01910..aff7331e38365cff5363239de76f1f04e625a3a0 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';