mirror of
https://github.com/systemd/systemd.git
synced 2025-06-02 17:07:47 +03:00
network: stop IPv4ACD client for DHCPv4 when lease is exprired
This commit is contained in:
parent
10fa21c0dc
commit
66f507e1ba
@ -563,6 +563,9 @@ static int dhcp_lease_lost(Link *link) {
|
||||
link->dhcp_lease = sd_dhcp_lease_unref(link->dhcp_lease);
|
||||
link_dirty(link);
|
||||
|
||||
if (link->dhcp_acd)
|
||||
(void) sd_ipv4acd_stop(link->dhcp_acd);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user