Restore the dns_message_reset() call before the dns_dispatch_getnext()
This was accidentally lost in the process of moving rmessage from fctx to query. Without this dns_message_setclass() will fail.
This commit is contained in:
@@ -9565,6 +9565,7 @@ rctx_next(respctx_t *rctx) {
|
||||
FCTXTRACE("nextitem");
|
||||
inc_stats(rctx->fctx->res, dns_resstatscounter_nextitem);
|
||||
INSIST(rctx->query->dispentry != NULL);
|
||||
dns_message_reset(rctx->query->rmessage, DNS_MESSAGE_INTENTPARSE);
|
||||
result = dns_dispatch_getnext(rctx->query->dispentry, &rctx->devent);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
fctx_done(rctx->fctx, result, __LINE__);
|
||||
|
||||
Reference in New Issue
Block a user