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:
parent
5a6037a258
commit
eeada1a077
1 changed files with 6 additions and 0 deletions
|
@ -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)';
|
||||
|
||||
|
|
Loading…
Reference in a new issue