From eeada1a077a7c930ad89baa2157cffaa2ec3b4c4 Mon Sep 17 00:00:00 2001 From: Mengyang Li Date: Sun, 25 Oct 2020 14:06:45 -0700 Subject: [PATCH] luci-proto-openconnect: add vpn_procotol support see https://github.com/openwrt/packages/pull/13763 Signed-off-by: Mengyang Li --- .../htdocs/luci-static/resources/protocol/openconnect.js | 6 ++++++ 1 file changed, 6 insertions(+) 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)'; -- 2.30.2