summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2019-09-18 15:22:23 +0200
committerFrancis Dupont <fdupont@isc.org>2019-09-20 08:44:56 +0200
commitc1594d884b66f0aa434fa48335721fae346a81cb (patch)
treea53f57a3d07bac1acdf5a88b977869ff52aa00e0 /src
parent[#766, !449] updated ChangeLog (diff)
downloadkea-c1594d884b66f0aa434fa48335721fae346a81cb.tar.xz
kea-c1594d884b66f0aa434fa48335721fae346a81cb.zip
[168-config-manager-clear-does-not-clear-the-d2-client-config-full-clear] Changed CfgMgr clear() to reset D2ClientConfig
Diffstat (limited to 'src')
-rw-r--r--src/lib/dhcpsrv/cfgmgr.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/cfgmgr.cc b/src/lib/dhcpsrv/cfgmgr.cc
index 24f207156d..69f1b314c3 100644
--- a/src/lib/dhcpsrv/cfgmgr.cc
+++ b/src/lib/dhcpsrv/cfgmgr.cc
@@ -82,7 +82,8 @@ CfgMgr::clear() {
}
configs_.clear();
external_configs_.clear();
- ensureCurrentAllocated();
+ D2ClientConfigPtr d2_default_conf(new D2ClientConfig());
+ setD2ClientConfig(d2_default_conf);
}
void