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

[#1721] add [] in D2 JSON paths

to make the redacter look in the right place for "secret" entries
This commit is contained in:
Andrei Pavel
2021-05-21 15:40:49 +03:00
parent 70b36a14f1
commit fc9ecbb415

View File

@@ -312,7 +312,7 @@ D2CfgMgr::parse(isc::data::ConstElementPtr config_set, bool check_only) {
std::list<std::list<std::string>>
D2CfgMgr::jsonPathsToRedact() const {
static std::list<std::list<std::string>> const list({
{"tsig-keys"},
{"tsig-keys", "[]"},
});
return list;
}