From de5e1eb9e5d2d47b01dc18c895b7cafce0832ca2 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 4 Nov 2021 17:17:16 +0100 Subject: [PATCH] device: don't fail immediately on DHCP expiry If we had a lease and it expired, don't fail immediately. The client will try to obtain a new lease and it will send a NO_LEASE_TIMEOUT event once it fails. Only at that time we should fail. --- src/core/devices/nm-device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 2348f017ef..19796cf62b 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -9965,7 +9965,6 @@ _dev_ipdhcpx_notify(NMDhcpClient *client, const NMDhcpClientNotifyData *notify_d if (!notify_data->lease_update.l3cd) { _LOGT_ipdhcp(addr_family, "lease lost"); - _dev_ipdhcpx_handle_fail(self, addr_family, "lease lost"); return; }