networkd: don't stop the dhcp server when link goes down

This commit is contained in:
Tom Gundersen 2014-10-26 14:01:27 +01:00
parent a9169c1c58
commit dbafa734d8

View file

@ -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) {