summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDet <detobate@users.noreply.github.com>2023-12-21 21:53:03 +0000
committerPaul Donald <newtwen@gmail.com>2023-12-21 21:54:34 +0000
commit80140aae72682a6889a75c41e592796ec683b18b (patch)
tree584a1bed97a5b595a0c8c82011bacf87d66afaa1
parent31e0a847e1d54d4f8839ddbabb844d8be76287f3 (diff)
luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)
Signed-off-by: Richard Patterson <richard@helix.net.nz> (cherry picked from commit 4ad5f8111bc357d88390d914d82f0517ccbcf769)
-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 2e75cb8632..aff7331e38 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
@@ -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';