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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user