1
0
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:
Yu Watanabe 2020-10-14 15:26:19 +09:00
parent 10fa21c0dc
commit 66f507e1ba

View File

@ -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;
}