chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e1ea665
)
networkd: set static addresses immediately
author
Tom Gundersen
<teg@jklm.no>
Sat, 28 Jun 2014 14:21:58 +0000
(16:21 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Sun, 29 Jun 2014 13:18:21 +0000
(15:18 +0200)
Don't wait for IPv4LL nor DHCP to finish before setting statically configured addresses.
src/network/networkd-link.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.c
b/src/network/networkd-link.c
index 82e517e78c2d07b3fb3c10385ff9d79331709c63..4c75fa3d38acef0e9641a63b827d69b5babc9d11 100644
(file)
--- 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) {