mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-26 09:57:26 +03:00
networkd: don't stop the dhcp server when link goes down
This commit is contained in:
parent
a9169c1c58
commit
dbafa734d8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user