mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 12:34:55 +00:00
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:
parent
1ca3da1cd0
commit
217cccd22a
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue