From: Yu Watanabe Date: Thu, 7 Sep 2023 18:26:27 +0000 (+0900) Subject: network: drop duplicated check X-Git-Tag: v255-rc1~549^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F29121%2Fhead;p=thirdparty%2Fsystemd.git network: drop duplicated check The same check is in network_adjust_dhcp_server(). --- diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index d8938778fbf..7feb178c80c 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -181,11 +181,6 @@ int network_verify(Network *network) { network->filename); network->link_local = ADDRESS_FAMILY_NO; } - if (network->dhcp_server) { - log_warning("%s: Cannot enable DHCPServer= when Bond= is specified, disabling DHCPServer=.", - network->filename); - network->dhcp_server = false; - } if (!ordered_hashmap_isempty(network->addresses_by_section)) log_warning("%s: Cannot set addresses when Bond= is specified, ignoring addresses.", network->filename);