mirror of
https://github.com/systemd/systemd.git
synced 2025-02-11 21:57:53 +03:00
network: drop duplicated check
The same check is in network_adjust_dhcp_server().
This commit is contained in:
parent
0ae8ff50ac
commit
f7f5028edc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user