diff options
author | Thomas Haller <thaller@redhat.com> | 2016-06-06 10:03:19 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-06-15 10:32:32 +0200 |
commit | 971a8181f68596d04ef9f81d2c3ad32d73f56de8 (patch) | |
tree | 3d79243b4cb3823f9369a33bb5da1b59c3b5f4f4 | |
parent | 10445bedb83fafbeed76ef25c45774f1c0a1ea94 (diff) | |
download | NetworkManager-971a8181f68596d04ef9f81d2c3ad32d73f56de8.tar.gz |
nmcli: fix VPN export to find plugin by service-type
-rw-r--r-- | clients/cli/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 0c61667d92..5b0261c4d3 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -10790,7 +10790,7 @@ do_connection_export (NmCli *nmc, int argc, char **argv) type = nm_setting_vpn_get_service_type (nm_connection_get_setting_vpn (connection)); /* Export VPN configuration */ - plugin = nm_vpn_lookup_plugin (type, NULL, &error); + plugin = nm_vpn_lookup_plugin (NULL, type, &error); if (!plugin) { g_string_printf (nmc->return_text, _("Error: failed to load VPN plugin: %s."), error->message); |