fix: nil: Fix last argument to cache_rrset is wrong

The last argument to cache_rrset should be a bool (false)
not a pointer (NULL).

Closes #5509

Merge branch '5509-last-argument-to-cache_rrset-is-wrong' into 'main'

See merge request isc-projects/bind9!10934
This commit is contained in:
Mark Andrews 2025-09-10 11:26:38 +10:00
commit 8aff2bbc5a

View file

@ -5934,7 +5934,7 @@ rctx_cache_insecure(respctx_t *rctx, dns_message_t *message, dns_name_t *name,
* Cache the rdataset.
*/
result = cache_rrset(fctx, rctx->now, name, rdataset, NULL, &node,
added, NULL, NULL);
added, NULL, false);
return result;
}