summaryrefslogtreecommitdiff
path: root/src/devices/nm-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device.c')
-rw-r--r--src/devices/nm-device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 242af8dca1..8472ff800c 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -4467,6 +4467,8 @@ dhcp4_lease_change (NMDevice *self, NMIP4Config *config)
NULL,
NULL,
NULL);
+
+ nm_device_remove_pending_action (self, PENDING_ACTION_DHCP4, FALSE);
}
}
@@ -5198,6 +5200,8 @@ dhcp6_lease_change (NMDevice *self)
settings_connection,
nm_device_get_applied_connection (self),
self, NULL, NULL, NULL);
+
+ nm_device_remove_pending_action (self, PENDING_ACTION_DHCP6, FALSE);
}
}