summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/networkd-link.c9
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) {