NetworkManager r3567 - in trunk: . src



Author: dcbw
Date: Wed Apr 16 20:47:24 2008
New Revision: 3567
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3567&view=rev

Log:
2008-04-16  Dan Williams  <dcbw redhat com>

	Patch from éé <znscnchen gmail com>

	* src/nm-device-802-3-ethernet.c
		- (real_deactivate_quickly): clear the IP interface name on
			deactivation, otherwise the wrong interface might get used later
			for routing and IP management



Modified:
   trunk/ChangeLog
   trunk/src/nm-device-802-3-ethernet.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 Apr 16 20:47:24 2008
@@ -1218,6 +1218,8 @@
 {
 	NMDevice8023EthernetPrivate *priv = NM_DEVICE_802_3_ETHERNET_GET_PRIVATE (device);
 
+	nm_device_set_ip_iface (device, NULL);
+
 	if (priv->pending_ip4_config) {
 		g_object_unref (priv->pending_ip4_config);
 		priv->pending_ip4_config = NULL;



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