2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#3477] Moved to control-sockets

This commit is contained in:
Francis Dupont
2024-07-04 16:33:30 +02:00
parent bd825dd31f
commit 3e80922de0
11 changed files with 124 additions and 54 deletions

View File

@@ -389,9 +389,17 @@ processDhcp4Config(isc::data::ConstElementPtr config_set) {
ConstElementPtr control_socket = mutable_cfg->get("control-socket");
if (control_socket) {
parameter_name = "control-socket";
ControlSocketParser parser;
parser.parse(*srv_config, control_socket);
mutable_cfg->remove("control-socket");
ElementPtr l = Element::createList();
l->add(UserContext::toElement(control_socket));
mutable_cfg->set("control-sockets", l);
}
ConstElementPtr control_sockets = mutable_cfg->get("control-sockets");
if (control_sockets) {
parameter_name = "control-sockets";
ControlSocketsParser parser;
parser.parse(*srv_config, control_sockets);
}
ConstElementPtr multi_threading = mutable_cfg->get("multi-threading");