diff options
author | Tom Gundersen <teg@jklm.no> | 2014-10-26 14:01:27 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-10-27 11:42:33 +0100 |
commit | dbafa734d8d6ba4cb5efcbb2260105babcdcde1e (patch) | |
tree | 224630e738fe713b6c9fbaa19834cdf48520fab7 /src | |
parent | a9169c1c589bf7c7a29e7905d17e350ce7c7c48e (diff) |
networkd: don't stop the dhcp server when link goes down
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-link.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index c6e173fbc6..26ef0feaae 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -344,15 +344,6 @@ static int link_stop_clients(Link *link) { } } - if (link->dhcp_server) { - k = sd_dhcp_server_stop(link->dhcp_server); - if (k < 0) { - log_warning_link(link, "Could not stop DHCPv4 server: %s", - strerror(-r)); - r = k; - } - } - if(link->icmp6_router_discovery) { if (link->dhcp6_client) { |