Do not add options, which are handles via /etc/ntopng/kea-dhcp4-ext.conf

This commit is contained in:
Alfredo Cardigliano 2025-11-28 12:24:05 +01:00
parent 8a4e863de0
commit 83c627bc56

View file

@ -97,6 +97,8 @@ function kea_dhcp_server.writeDhcpServerConfiguration(dhcp_config, all_interface
}
subnet_id = subnet_id + 1
--[[ Do not add options, which are handles via /etc/ntopng/kea-dhcp4-ext.conf
-- Add custom options if present
if not isEmptyString(lan_dhcp_config["option_114"]) then
table.insert(subnet_config["option-data"], {
@ -123,6 +125,8 @@ function kea_dhcp_server.writeDhcpServerConfiguration(dhcp_config, all_interface
end
end
--]]
table.insert(subnet4_configs, subnet_config)
end
end