[NetworkManager-openconnect: 1/3] PAN GlobalProtect: pass "gp" protocol to openconnect
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-openconnect: 1/3] PAN GlobalProtect: pass "gp" protocol to openconnect
- Date: Thu, 2 May 2019 13:52:53 +0000 (UTC)
commit 0a1bc7a7a2c5e8811cb5113d0ec6effc0024daa2
Author: Sergi Granell <xerpi g 12 gmail com>
Date: Sat Feb 9 17:57:53 2019 +0100
PAN GlobalProtect: pass "gp" protocol to openconnect
OpenConnect v8.00 (1) introduced support for PAN GlobalProtect VPN protocol with the --protocol=gp option.
[1]: http://www.infradead.org/openconnect/changelog.html
Signed-off-by: Sergi Granell <xerpi g 12 gmail com>
properties/nm-openconnect-editor-plugin.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/properties/nm-openconnect-editor-plugin.c b/properties/nm-openconnect-editor-plugin.c
index 63e1637..771c2f5 100644
--- a/properties/nm-openconnect-editor-plugin.c
+++ b/properties/nm-openconnect-editor-plugin.c
@@ -457,6 +457,9 @@ _vt_impl_get_service_add_detail (NMVpnEditorPlugin *plugin,
} else if (nm_streq (add_detail, "nc")) {
NM_SET_OUT (out_pretty_name, g_strdup (_("Juniper Network Connect (openconnect)")));
NM_SET_OUT (out_description, g_strdup (_("Compatible with Juniper Network Connect /
Pulse Secure SSL VPN")));
+ } else if (nm_streq (add_detail, "gp")) {
+ NM_SET_OUT (out_pretty_name, g_strdup (_("PAN GlobalProtect (openconnect)")));
+ NM_SET_OUT (out_description, g_strdup (_("Compatible with PAN GlobalProtect SSL
VPN")));
} else {
/* we don't know this protocol by name, but it's configured in the .name file,
* so just take it. */
@@ -574,6 +577,7 @@ openconnect_editor_plugin_init (OpenconnectEditorPlugin *plugin)
char *dflt[] = {
"anyconnect",
"nc",
+ "gp",
NULL,
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]