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

[#103,!277] Use enum instead of boolean in databaseConfigFetch.

As a result of review.
This commit is contained in:
Marcin Siodelski
2019-03-25 19:28:53 +01:00
parent a2ab8f2743
commit 227bdc64b6
5 changed files with 43 additions and 30 deletions

View File

@@ -625,7 +625,8 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
libraries.loadLibraries();
// If there are config backends, fetch and merge into staging config
server.getCBControl()->databaseConfigFetch(srv_cfg, false);
server.getCBControl()->databaseConfigFetch(srv_cfg,
CBControlDHCPv4::FetchMode::FETCH_ALL);
}
catch (const isc::Exception& ex) {
LOG_ERROR(dhcp4_logger, DHCP4_PARSER_COMMIT_FAIL).arg(ex.what());