projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09dba9
)
Networkd: Start DHCP server when link is up.
author
Susant Sahani
<susant@redhat.com>
Mon, 9 Jul 2018 05:40:54 +0000
(11:10 +0530)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 23 Aug 2018 08:03:30 +0000
(10:03 +0200)
Closes #9479
src/network/networkd-link.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.c
b/src/network/networkd-link.c
index
619a314
..
96e1119
100644
(file)
--- a/
src/network/networkd-link.c
+++ b/
src/network/networkd-link.c
@@
-1096,7
+1096,7
@@
static int link_enter_set_addresses(Link *link) {
/* now that we can figure out a default address for the dhcp server,
start it */
- if (link_dhcp4_server_enabled(link)) {
+ if (link_dhcp4_server_enabled(link)
&& (link->flags & IFF_UP)
) {
Address *address;
Link *uplink = NULL;
bool acquired_uplink = false;