[network-manager-fortisslvpn/nm-1-0] service: use --pppd-plugin instead of --plugin



commit 09fe2669decf6fe08ea0c298d7b95495a8c653d4
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Oct 13 20:07:49 2015 +0200

    service: use --pppd-plugin instead of --plugin
    
    That's what openfortivpn 1.1.0 prefers while it keeps compatibility with the
    old option.
    
    (cherry picked from commit 209c38c5f1937023a7320c8580a08dfa3ca84352)

 src/nm-fortisslvpn-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-fortisslvpn-service.c b/src/nm-fortisslvpn-service.c
index 31e62cd..c80a8a1 100644
--- a/src/nm-fortisslvpn-service.c
+++ b/src/nm-fortisslvpn-service.c
@@ -694,7 +694,7 @@ run_openfortivpn (NMFortisslvpnPlugin *plugin, NMSettingVPN *s_vpn, GError **err
                g_ptr_array_add (argv, (gpointer) g_strdup (value));
        }
 
-       g_ptr_array_add (argv, (gpointer) g_strdup ("--plugin"));
+       g_ptr_array_add (argv, (gpointer) g_strdup ("--pppd-plugin"));
        g_ptr_array_add (argv, (gpointer) g_strdup (NM_FORTISSLVPN_PPPD_PLUGIN));
 
        g_ptr_array_add (argv, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]