network: stop IPv4LL engine when DHCPv4 address is successfully acquired
This commit is contained in:
parent
0107b769b1
commit
8ccae2dd2d
|
@ -70,6 +70,10 @@ static void dhcp4_check_ready(Link *link) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
r = sd_ipv4ll_stop(link->ipv4ll);
|
||||||
|
if (r < 0)
|
||||||
|
log_link_warning_errno(link, r, "Failed to drop IPv4 link-local address, ignoring: %m");
|
||||||
|
|
||||||
link_check_ready(link);
|
link_check_ready(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue