]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to remove debug from cache_lookup.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 13 Aug 2025 09:59:53 +0000 (11:59 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 13 Aug 2025 09:59:53 +0000 (11:59 +0200)
daemon/remote.c
doc/Changelog

index 4cb26f9386f85232596dccff23051f5d9fe22235..0b1cd64c50caf6b2d1f2b3a917d8698f40658a11 100644 (file)
@@ -1760,9 +1760,6 @@ cache_lookup_rrset(struct lruhash_entry* e, void* arg)
        struct cache_lookup_info* inf = (struct cache_lookup_info*)arg;
        struct ub_packed_rrset_key* k = (struct ub_packed_rrset_key*)e->key;
        struct packed_rrset_data* d = (struct packed_rrset_data*)e->data;
-       char bla[255], bla2[255];
-       dname_str(k->rk.dname, bla);
-       dname_str(inf->nm, bla2);
        if(*inf->worker->env.now < d->ttl &&
                k->id != 0 && /* not deleted */
                dname_subdomain_c(k->rk.dname, inf->nm)) {
index 8d0e4cb2dca2c835ae7d4aadec852680a9a57a86..0ae4873ef5740345929a4f78d47f517c6ce1f3e6 100644 (file)
@@ -1,6 +1,7 @@
 13 August 2025: Wouter
        - unbound-control cache_lookup <domains> prints the cached rrsets
          and messages for those.
+       - Fix to remove debug from cache_lookup.
 
 12 August 2025: Wouter
        - Fix that unbound-control dump_cache releases the cache locks