- Fix to remove debug from cache_lookup.

This commit is contained in:
W.C.A. Wijngaards 2025-08-13 11:59:53 +02:00
parent 2f7890eb6e
commit 651a71fa76
2 changed files with 1 additions and 3 deletions

View 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)) {

View 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