[network-manager-pptp/th/vpn-editor-split-bgo766623: 2/21] service: fix invalid failure reason in pppd_timed_out()



commit c1829794ce3bd2970878e1915fda9761b46595ad
Author: Thomas Haller <thaller redhat com>
Date:   Wed May 18 13:27:14 2016 +0200

    service: fix invalid failure reason in pppd_timed_out()

 src/nm-pptp-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-pptp-service.c b/src/nm-pptp-service.c
index aa8ab13..41d2990 100644
--- a/src/nm-pptp-service.c
+++ b/src/nm-pptp-service.c
@@ -367,7 +367,7 @@ pppd_timed_out (gpointer user_data)
        NMPptpPlugin *plugin = NM_PPTP_PLUGIN (user_data);
 
        g_warning ("Looks like pppd didn't initialize our dbus module");
-       nm_vpn_service_plugin_failure (NM_VPN_SERVICE_PLUGIN (plugin), 
NM_VPN_CONNECTION_STATE_REASON_SERVICE_START_TIMEOUT);
+       nm_vpn_service_plugin_failure (NM_VPN_SERVICE_PLUGIN (plugin), NM_VPN_PLUGIN_FAILURE_CONNECT_FAILED);
 
        return FALSE;
 }


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