summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.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-sstp/htdocs/luci-static/resources/protocol/sstp.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-sstp/htdocs/luci-static/resources/protocol/sstp.js')
-rw-r--r--protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js b/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js
index b568f17018..6a23407b50 100644
--- a/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js
+++ b/protocols/luci-proto-sstp/htdocs/luci-static/resources/protocol/sstp.js
@@ -48,7 +48,8 @@ return network.registerProtocol('sstp', {
// -- advanced --------------------------------------------------------------------
- o = s.taboption('advanced', form.Flag, 'ipv6', _('IPv6 support'), _('If checked, adds "+ipv6" to the pppd options'));
+ o = s.taboption('advanced', form.Flag, 'ppp_ipv6', _('IPv6 support'), _('If checked, adds "+ipv6" to the pppd options'));
+ o.ucioption = 'ipv6';
o = s.taboption('advanced', form.ListValue, 'log_level', _('sstpc Log-level'));
o.value('0', _('0', 'sstp log level value'));