From: Mark Andrews Date: Tue, 12 Sep 2017 04:55:03 +0000 (+1000) Subject: 4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax X-Git-Tag: v9.12.0a1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a1359034de2f846fc2f5f23baa5f4471c3ba9ec;p=thirdparty%2Fbind9.git 4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax in the Json cache statistics. [RT #45980] --- diff --git a/CHANGES b/CHANGES index b2771c7add7..1bf7e4edc23 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 10e23315204..4f234e2b61b 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);