2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[5033] Fixed defaults and enable-updates=false shortcut problems

This commit is contained in:
Francis Dupont
2017-01-13 15:28:52 +01:00
parent 7a79bacb01
commit 568aa8f5f6
9 changed files with 132 additions and 109 deletions

View File

@@ -637,6 +637,10 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
}
if (config_pair.first == "dhcp-ddns") {
// Apply defaults if not in short cut
if (!!D2ClientConfigParser::isShortCutDisabled(config_pair.second)) {
D2ClientConfigParser::setAllDefaults(config_pair.second);
}
D2ClientConfigParser parser;
D2ClientConfigPtr cfg = parser.parse(config_pair.second);
CfgMgr::instance().getStagingCfg()->setD2ClientConfig(cfg);