From 7d49508480446febe4ed0de929f83ea923c98324 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 29 Mar 2021 20:34:43 +0200 Subject: 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 --- protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol') diff --git a/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js b/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js index 8496b7de3c..3195592d97 100644 --- a/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js +++ b/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js @@ -94,7 +94,8 @@ return network.registerProtocol('ncm', { o.placeholder = '*99***1#'; if (L.hasSystemFeature('ipv6')) { - o = s.taboption('advanced', form.ListValue, 'ipv6', _('Obtain IPv6-Address')); + o = s.taboption('advanced', form.ListValue, 'ppp_ipv6', _('Obtain IPv6-Address')); + o.ucioption = 'ipv6'; o.value('auto', _('Automatic')); o.value('0', _('Disabled')); o.value('1', _('Manual')); -- cgit v1.2.3