Commit 62fb5ecc authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

pass query type to negative response validator

parent 59e99793
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment