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



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3567 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-04-16 19:47:24 +00:00
parent 1ca3da1cd0
commit 217cccd22a
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,12 @@
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
2008-04-15 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device.c

View file

@ -1218,6 +1218,8 @@ real_deactivate_quickly (NMDevice *device)
{
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;