mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Do not add options, which are handles via /etc/ntopng/kea-dhcp4-ext.conf
This commit is contained in:
parent
8a4e863de0
commit
83c627bc56
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue