[network-manager-pptp/NM_0_8] core: dump connection details if debugging (includes passwords)
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-pptp/NM_0_8] core: dump connection details if debugging (includes passwords)
- Date: Thu, 31 Mar 2011 18:42:47 +0000 (UTC)
commit 3e9e6805cccd86407202ea26436431cfb96e4707
Author: Dan Williams <dcbw redhat com>
Date: Thu Mar 31 13:43:06 2011 -0500
core: dump connection details if debugging (includes passwords)
src/nm-pptp-service.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nm-pptp-service.c b/src/nm-pptp-service.c
index 24d4ed4..395e2fd 100644
--- a/src/nm-pptp-service.c
+++ b/src/nm-pptp-service.c
@@ -1098,6 +1098,9 @@ real_connect (NMVPNPlugin *plugin,
if (!nm_pptp_ppp_service_cache_credentials (priv->service, connection, error))
return FALSE;
+ if (getenv ("NM_PPP_DUMP_CONNECTION") || debug)
+ nm_connection_dump (connection);
+
if (!nm_pptp_start_pppd_binary (NM_PPTP_PLUGIN (plugin), s_vpn, error))
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]