NetworkManager r3481 - in trunk: . src src/ppp-manager



Author: tambeti
Date: Wed Mar 19 15:27:59 2008
New Revision: 3481
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3481&view=rev

Log:
Author: Tambet Ingo <tambet gmail com>
Date:   Tue Mar 18 21:46:10 2008 -0600

    2008-03-18  Tambet Ingo  <tambet gmail com>

    	* src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
    	print out username and password, it's supposed to be a secret.

    	* src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
    	request and set the device state accordingly.


Modified:
   trunk/ChangeLog
   trunk/src/nm-device-802-3-ethernet.c
   trunk/src/ppp-manager/nm-ppp-manager.c

Modified: trunk/src/nm-device-802-3-ethernet.c
==============================================================================
--- trunk/src/nm-device-802-3-ethernet.c	(original)
+++ trunk/src/nm-device-802-3-ethernet.c	Wed Mar 19 15:27:59 2008
@@ -1019,6 +1019,9 @@
 		else
 			nm_device_state_changed (device, NM_DEVICE_STATE_FAILED);
 		break;
+	case NM_PPP_STATUS_AUTHENTICATE:
+		nm_device_state_changed (device, NM_DEVICE_STATE_NEED_AUTH);
+		break;
 	default:
 		break;
 	}

Modified: trunk/src/ppp-manager/nm-ppp-manager.c
==============================================================================
--- trunk/src/ppp-manager/nm-ppp-manager.c	(original)
+++ trunk/src/ppp-manager/nm-ppp-manager.c	Wed Mar 19 15:27:59 2008
@@ -709,8 +709,6 @@
 	pppoe_setting = NM_SETTING_PPPOE (nm_connection_get_setting (connection, NM_TYPE_SETTING_PPPOE));
 	g_assert (pppoe_setting);
 
-	nm_info ("Sending secrets: %s %s", pppoe_setting->username, pppoe_setting->password);
-
 	/* FIXME: Do we have to strdup the values here? */
 	dbus_g_method_return (priv->pending_secrets_context, 
 					  g_strdup (pppoe_setting->username),



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