summaryrefslogtreecommitdiff
path: root/src/PVE/Network/SDN/Dhcp.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/PVE/Network/SDN/Dhcp.pm')
-rw-r--r--src/PVE/Network/SDN/Dhcp.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/PVE/Network/SDN/Dhcp.pm b/src/PVE/Network/SDN/Dhcp.pm
index d48de34..8bbc210 100644
--- a/src/PVE/Network/SDN/Dhcp.pm
+++ b/src/PVE/Network/SDN/Dhcp.pm
@@ -100,7 +100,6 @@ sub regenerate_config {
my ($zone, $subnet_network, $subnet_mask) = split(/-/, $subnet_id);
next if $zone ne $zoneid;
- next if !$dhcp_ranges;
eval { $dhcp_plugin->configure_subnet($config, $zoneid, $vnetid, $subnet_config) };
warn "Could not configure subnet $subnet_id: $@\n" if $@;