summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-29 20:34:43 +0200
committerJo-Philipp Wich <jo@mein.io>2021-03-29 22:35:46 +0200
commit7d49508480446febe4ed0de929f83ea923c98324 (patch)
treef869cf2905be8b79d99a9f4a8c1f37e63aff2116 /protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
parent935e9a3c3430db5fad1004926ddfa2e35a950be5 (diff)
protocols: fix interface.ipv6 vs. device.ipv6 option conflict
Ref: https://forum.openwrt.org/t/pppoe-disable-ipv6/92548 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js')
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
index 9ec2a81d3e..0279830899 100644
--- a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
+++ b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
@@ -51,7 +51,8 @@ return network.registerProtocol('pppoe', {
o.placeholder = _('auto');
if (L.hasSystemFeature('ipv6')) {
- o = s.taboption('advanced', form.ListValue, 'ipv6', _('Obtain IPv6-Address'), _('Enable IPv6 negotiation on the PPP link'));
+ o = s.taboption('advanced', form.ListValue, 'ppp_ipv6', _('Obtain IPv6-Address'), _('Enable IPv6 negotiation on the PPP link'));
+ o.ucioption = 'ipv6';
o.value('auto', _('Automatic'));
o.value('0', _('Disabled'));
o.value('1', _('Manual'));