mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
networkd: set static addresses immediately
Don't wait for IPv4LL nor DHCP to finish before setting statically configured addresses.
This commit is contained in:
parent
e1ea665eda
commit
fb6730c498
@ -1756,10 +1756,7 @@ static int link_enslaved(Link *link) {
|
||||
}
|
||||
}
|
||||
|
||||
if ((link->network->dhcp == DHCP_SUPPORT_NONE) && !link->network->ipv4ll)
|
||||
return link_enter_set_addresses(link);
|
||||
|
||||
return 0;
|
||||
return link_enter_set_addresses(link);
|
||||
}
|
||||
|
||||
static int enslave_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user