mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 17:30:09 +01:00
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.
This commit is contained in:
parent
e9bd8b3dac
commit
de5e1eb9e5
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue