openconnect: avoid using the --juniper switch
authorRui Salvaterra <redacted>
Tue, 31 May 2022 08:06:49 +0000 (09:06 +0100)
committerRosen Penev <redacted>
Wed, 1 Jun 2022 20:54:13 +0000 (13:54 -0700)
commita85bda72cce7ff638c2931e0f11e852995d84835
tree3dd077c671b8034c0240c1a0ee4a2d061f53e4d6
parent278a35be9c5b82c53512c0ed63ff75ba7fe27425
openconnect: avoid using the --juniper switch

The --juniper switch has been deprecated in favour of --protocol=nc. Fix the
proto script thusly, while keeping compatibility with existing configurations.

Note that, as far as UCI is concerned, if both options juniper and vpn_protocol
are specified, the latter takes precedence.

Signed-off-by: Rui Salvaterra <redacted>
net/openconnect/files/openconnect.sh
git clone https://git.99rst.org/PROJECT