2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 06:25:34 +00:00

[#490,!284] Addressed review comments.

This commit is contained in:
Marcin Siodelski
2019-03-27 19:31:17 +01:00
parent aa61dcb0f8
commit 92e514ebd7
4 changed files with 6 additions and 10 deletions

View File

@@ -343,9 +343,6 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
// Get the staging configuration
srv_cfg = CfgMgr::instance().getStagingCfg();
// Preserve all scalar global parameters
srv_cfg->extractConfiguredGlobals(config_set);
// This is a way to convert ConstElementPtr to ElementPtr.
// We need a config that can be edited, because we will insert
// default values and will insert derived values as well.