mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-05 08:25:16 +00:00
[master] Adds initial congestion handling
Merge branch '42-congestion-handler-exp-1'
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <dhcpsrv/parsers/host_reservations_list_parser.h>
|
||||
#include <dhcpsrv/parsers/ifaces_config_parser.h>
|
||||
#include <dhcpsrv/parsers/option_data_parser.h>
|
||||
#include <dhcpsrv/parsers/dhcp_queue_control_parser.h>
|
||||
#include <dhcpsrv/parsers/simple_parser4.h>
|
||||
#include <dhcpsrv/parsers/shared_networks_list_parser.h>
|
||||
#include <dhcpsrv/parsers/sanity_checks_parser.h>
|
||||
@@ -389,6 +390,12 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (config_pair.first == "dhcp-queue-control") {
|
||||
DHCPQueueControlParser parser(AF_INET);
|
||||
srv_cfg->setDHCPQueueControl(parser.parse(config_pair.second));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (config_pair.first == "host-reservation-identifiers") {
|
||||
HostReservationIdsParser4 parser;
|
||||
parser.parse(config_pair.second);
|
||||
|
Reference in New Issue
Block a user