mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 18:10:21 +01:00
device: clear the dhcp grace-period source id
Fixes:17009ed91d(cherry picked from commitdb1867bafd)
This commit is contained in:
parent
c2b4e8b290
commit
5ccd7f7fd7
1 changed files with 4 additions and 0 deletions
|
|
@ -6829,7 +6829,9 @@ static gboolean
|
|||
dhcp4_grace_period_expired (gpointer user_data)
|
||||
{
|
||||
NMDevice *self = user_data;
|
||||
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
|
||||
|
||||
priv->dhcp4.grace_id = 0;
|
||||
_LOGI (LOGD_DHCP4, "DHCPv4: grace period expired");
|
||||
|
||||
nm_device_ip_method_failed (self, AF_INET,
|
||||
|
|
@ -7560,7 +7562,9 @@ static gboolean
|
|||
dhcp6_grace_period_expired (gpointer user_data)
|
||||
{
|
||||
NMDevice *self = user_data;
|
||||
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
|
||||
|
||||
priv->dhcp6.grace_id = 0;
|
||||
_LOGI (LOGD_DHCP6, "DHCPv6: grace period expired");
|
||||
|
||||
nm_device_ip_method_failed (self, AF_INET6,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue