Commit 91d406dc authored by Francis Dupont's avatar Francis Dupont
Browse files

[587-radius-host-cache-do-not-work] Re-add host cache in createManagers which...

[587-radius-host-cache-do-not-work] Re-add host cache in createManagers which is called after hook loads
parent efa57909
// Copyright (C) 2016-2018 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2016-2019 Internet Systems Consortium, Inc. ("ISC")
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -60,6 +60,13 @@ CfgDbAccess::createManagers() const {
// Recreate host data source.
// Restore the host cache.
if (HostDataSourceFactory::registeredFactory("cache")) {
// Add database backends.
std::list<std::string> host_db_access_list = getHostDbAccessStringList();
for (std::string& hds : host_db_access_list) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment