diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index fcfb6d2e17..ac8c08456b 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -1658,11 +1658,6 @@ int config_parse_dhcp_black_listed_ip_address( return log_oom(); r = set_put(network->dhcp_black_listed_ip, UINT32_TO_PTR(ip.in.s_addr)); - if (r == -EEXIST) { - log_syntax(unit, LOG_WARNING, filename, line, r, - "DHCP black listed ip address is duplicated, ignoring assignment: %s", n); - continue; - } if (r < 0) log_syntax(unit, LOG_ERR, filename, line, r, "Failed to store DHCP black listed ip address '%s', ignoring assignment: %m", n);