diff --git a/CHANGES b/CHANGES index b2771c7add..1bf7e4edc2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax + in the Json cache statistics. [RT #45980] + 4714. [port] openbsd/libressl: add support for building with --enable-openssl-hash. [RT #45982] diff --git a/lib/dns/cache.c b/lib/dns/cache.c index 10e2331520..4f234e2b61 100644 --- a/lib/dns/cache.c +++ b/lib/dns/cache.c @@ -1581,7 +1581,7 @@ dns_cache_renderjson(dns_cache_t *cache, json_object *cstats) { obj = json_object_new_int64(isc_mem_maxinuse(cache->mctx)); CHECKMEM(obj); - json_object_object_add(cstats, "HeapMemMax", obj); + json_object_object_add(cstats, "TreeMemMax", obj); obj = json_object_new_int64(isc_mem_total(cache->hmctx)); CHECKMEM(obj);