Skip to content
Commit b3a9d726 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

openconnect widget: Default to "anyconnect" when protocol is not set.

This matches the GNOME implementation as well as the openconnect binary's
default behavior when "--protocol" is not specified.

Connections created via nmcli, for example, can be set up without explicitly
passing "protocol" in the VPN data; this is expected to be interpreted as
the AnyConnect protocol rather than Pulse.

While here, also check NM_OPENCONNECT_KEY_REPORTED_OS's presence via
QMap::contains() rather than creating and comparing to an empty QString.
parent a76f4d4b
Pipeline #88996 passed with stage
in 1 minute and 22 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment