summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-openconnect/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorMengyang Li <mayli.he@gmail.com>2020-10-25 14:06:45 -0700
committerMengyang Li <mayli.he@gmail.com>2020-10-30 13:33:57 -0700
commiteeada1a077a7c930ad89baa2157cffaa2ec3b4c4 (patch)
tree2369b609346a814b630b958cd4ab7cc15fa6aa2c /protocols/luci-proto-openconnect/htdocs/luci-static/resources
parent5a6037a258558d7c61422ee966f25a950f99c56e (diff)
luci-proto-openconnect: add vpn_procotol support
see https://github.com/openwrt/packages/pull/13763 Signed-off-by: Mengyang Li <mayli.he@gmail.com>
Diffstat (limited to 'protocols/luci-proto-openconnect/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
index 1f07f97513..388812d893 100644
--- a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
+++ b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
@@ -93,6 +93,12 @@ return network.registerProtocol('openconnect', {
certLoadPromise = null,
o;
+ o = s.taboption('general', form.ListValue, 'vpn_protocol', _('VPN Protocol'));
+ o.value('anyconnect', 'Cisco AnyConnect SSL VPN');
+ o.value('nc', 'Juniper Network Connect');
+ o.value('gp', 'GlobalProtect SSL VPN');
+ o.value('pulse', 'Pulse Connect Secure SSL VPN');
+
o = s.taboption('general', form.Value, 'server', _('VPN Server'));
o.datatype = 'host(0)';