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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user