mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 15:35:17 +00:00
[#1442] Reset data dir in cfgmgr::clear
This commit is contained in:
@@ -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
|
// 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
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
@@ -84,6 +84,7 @@ CfgMgr::clear() {
|
|||||||
external_configs_.clear();
|
external_configs_.clear();
|
||||||
D2ClientConfigPtr d2_default_conf(new D2ClientConfig());
|
D2ClientConfigPtr d2_default_conf(new D2ClientConfig());
|
||||||
setD2ClientConfig(d2_default_conf);
|
setD2ClientConfig(d2_default_conf);
|
||||||
|
setDataDir(DHCP_DATA_DIR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -229,5 +230,5 @@ CfgMgr::CfgMgr()
|
|||||||
CfgMgr::~CfgMgr() {
|
CfgMgr::~CfgMgr() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // end of isc::dhcp namespace
|
} // end of isc::dhcp namespace
|
||||||
}; // end of isc namespace
|
} // end of isc namespace
|
||||||
|
Reference in New Issue
Block a user