2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#1442] Reset data dir in cfgmgr::clear

This commit is contained in:
Francis Dupont
2020-11-03 14:47:49 +01:00
parent 845d8b9c4f
commit 520a14569f

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2012-2019 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2012-2020 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -84,6 +84,7 @@ CfgMgr::clear() {
external_configs_.clear();
D2ClientConfigPtr d2_default_conf(new D2ClientConfig());
setD2ClientConfig(d2_default_conf);
setDataDir(DHCP_DATA_DIR, true);
}
void
@@ -229,5 +230,5 @@ CfgMgr::CfgMgr()
CfgMgr::~CfgMgr() {
}
}; // end of isc::dhcp namespace
}; // end of isc namespace
} // end of isc::dhcp namespace
} // end of isc namespace