mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[3590] Hook libraries information is now stored in SrvConfig
This commit is contained in:
@@ -515,6 +515,11 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
|
||||
if (config_pair.first == "hooks-libraries") {
|
||||
hooks_parser.parse(config_pair.second);
|
||||
hooks_parser.verifyLibraries();
|
||||
|
||||
// We need to store hooks information in the configuration.
|
||||
hooks::HookLibsCollection libs;
|
||||
hooks_parser.getLibraries(libs);
|
||||
srv_cfg->setLibraries(libs);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user