From fb6730c4989e3ad561ec67c70cbd01819824e438 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 28 Jun 2014 16:21:58 +0200 Subject: networkd: set static addresses immediately Don't wait for IPv4LL nor DHCP to finish before setting statically configured addresses. --- src/network/networkd-link.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/network') diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 82e517e78c..4c75fa3d38 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -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) { -- cgit v1.2.3-54-g00ecf