]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax
authorMark Andrews <marka@isc.org>
Tue, 12 Sep 2017 04:55:03 +0000 (14:55 +1000)
committerMark Andrews <marka@isc.org>
Tue, 12 Sep 2017 04:55:03 +0000 (14:55 +1000)
                        in the Json cache statistics. [RT #45980]

CHANGES
lib/dns/cache.c

diff --git a/CHANGES b/CHANGES
index b2771c7add7becaa215855758c4918abaf84d4fa..1bf7e4edc230c149654e85cd62df4dc5afd0f62d 100644 (file)
--- 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]
 
index 10e23315204f8cc6704e75c4ec631a28e471a5f9..4f234e2b61b0db4bf9e15a495ca3f6d86d32c1c7 100644 (file)
@@ -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);