mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-proto-openconnect: add vpn_procotol support
see https://github.com/openwrt/packages/pull/13763 Signed-off-by: Mengyang Li <mayli.he@gmail.com>
This commit is contained in:
@@ -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)';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user