mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 06:25:37 +03:00
network: ipv4ll: make link enter failed state on failure of restarting ipv4ll engine
This commit is contained in:
parent
fe321d457c
commit
89d8ed9932
@ -122,8 +122,10 @@ static void ipv4ll_handler(sd_ipv4ll *ll, int event, void *userdata) {
|
||||
}
|
||||
|
||||
r = sd_ipv4ll_restart(ll);
|
||||
if (r < 0)
|
||||
if (r < 0) {
|
||||
log_link_warning_errno(link, r, "Could not acquire IPv4 link-local address: %m");
|
||||
link_enter_failed(link);
|
||||
}
|
||||
break;
|
||||
case SD_IPV4LL_EVENT_BIND:
|
||||
r = ipv4ll_address_claimed(ll, link);
|
||||
|
Loading…
Reference in New Issue
Block a user