]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[168-config-manager-clear-does-not-clear-the-d2-client-config-full-clear] Changed...
authorFrancis Dupont <fdupont@isc.org>
Wed, 18 Sep 2019 13:22:23 +0000 (15:22 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 20 Sep 2019 06:44:56 +0000 (02:44 -0400)
src/lib/dhcpsrv/cfgmgr.cc

index 24f207156d40049ef5c7f4db609649f0404df8e1..69f1b314c31be961abe334f5623d3dd29951f817 100644 (file)
@@ -82,7 +82,8 @@ CfgMgr::clear() {
     }
     configs_.clear();
     external_configs_.clear();
-    ensureCurrentAllocated();
+    D2ClientConfigPtr d2_default_conf(new D2ClientConfig());
+    setD2ClientConfig(d2_default_conf);
 }
 
 void