pass query type to negative response validator

This commit is contained in:
Andreas Gustafsson 2000-05-05 00:19:00 +00:00
parent 59e9979330
commit 62fb5eccb5

View file

@ -2616,7 +2616,7 @@ ncache_message(fetchctx_t *fctx, dns_rdatatype_t covers, isc_stdtime_t now) {
* Do negative response validation.
*/
isc_task_t *task = res->buckets[fctx->bucketnum].task;
result = dns_validator_create(res->view, name, 0,
result = dns_validator_create(res->view, name, fctx->type,
NULL, NULL,
fctx->rmessage, 0, task,
validated, fctx,