diff options
| author | Michael Biebl <biebl@debian.org> | 2024-02-22 17:22:03 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-02-22 17:22:03 +0100 |
| commit | ee7b97d8af11fb1c2cbcd4df0deb298ff906fa8b (patch) | |
| tree | b0978e9f3ed4e2e9b727844e57637783ca47a8ef /src/core/dhcp | |
| parent | d8ad0e3c21e712308cf070716acc421adfabd7d3 (diff) | |
| parent | bba2e4b4de668db525cbfdfc35292e5a0b51671a (diff) | |
Update upstream source from tag 'upstream/1.46.0'
Update to upstream version '1.46.0' with Debian dir 8c30a24f4e6f4278d9943aef82e6ae63c4528df5
Diffstat (limited to 'src/core/dhcp')
| -rw-r--r-- | src/core/dhcp/nm-dhcp-client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/dhcp/nm-dhcp-client.c b/src/core/dhcp/nm-dhcp-client.c index 4be03f4b..8770656b 100644 --- a/src/core/dhcp/nm-dhcp-client.c +++ b/src/core/dhcp/nm-dhcp-client.c @@ -899,6 +899,12 @@ _nm_dhcp_client_notify(NMDhcpClient *self, l3_cfg_notify_check_connected(self); + if (!priv->l3cd_curr) { + /* When the lease is lost, any cached ACD information is no longer relevant. + * Remove it so that it doesn't interfere with a new lease we might get. */ + _acd_state_reset(self, TRUE, TRUE); + } + _emit_notify(self, NM_DHCP_CLIENT_NOTIFY_TYPE_LEASE_UPDATE, .lease_update = { |