mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#42,!103] Addressed majority of review comments
Most notable change is "queue-control" is now "dhcp-queue-control"
This commit is contained in:
@@ -24,7 +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/queue_control_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>
|
||||
@@ -381,9 +381,9 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (config_pair.first == "queue-control") {
|
||||
QueueControlParser parser(AF_INET);
|
||||
srv_cfg->setQueueControlInfo(parser.parse(config_pair.second));
|
||||
if (config_pair.first == "dhcp-queue-control") {
|
||||
DHCPQueueControlParser parser(AF_INET);
|
||||
srv_cfg->setDHCPQueueControl(parser.parse(config_pair.second));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user