Merge pull request #4542 from mayli/oc-protocol

luci-proto-openconnect: add vpn_procotol support
This commit is contained in:
Florian Eckert 2020-11-25 10:27:44 +01:00 committed by GitHub
commit 7e2e3ee499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)';