mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[5145b] get rid of D2ClientConfig::isShortCutDisabled
This commit is contained in:
@@ -520,10 +520,8 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set,
|
||||
|
||||
// Legacy DhcpConfigParser stuff below
|
||||
if (config_pair.first == "dhcp-ddns") {
|
||||
// Apply defaults if not in short cut
|
||||
if (!D2ClientConfigParser::isShortCutDisabled(config_pair.second)) {
|
||||
D2ClientConfigParser::setAllDefaults(config_pair.second);
|
||||
}
|
||||
// Apply defaults
|
||||
D2ClientConfigParser::setAllDefaults(config_pair.second);
|
||||
D2ClientConfigParser parser;
|
||||
D2ClientConfigPtr cfg = parser.parse(config_pair.second);
|
||||
srv_cfg->setD2ClientConfig(cfg);
|
||||
|
Reference in New Issue
Block a user