mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-19 14:45:45 +00:00
networkd: don't stop the dhcp server when link goes down
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user