return rdatasets when processing ANY queries in client_resfind

This commit is contained in:
Mark Andrews 2019-04-17 00:13:14 +10:00
parent cbddd8a0a9
commit 127333c71f

View file

@ -1094,6 +1094,12 @@ client_resfind(resctx_t *rctx, dns_fetchevent_t *event) {
}
}
}
if (rctx->rdataset != NULL) {
putrdataset(mctx, &rctx->rdataset);
}
if (rctx->sigrdataset != NULL) {
putrdataset(mctx, &rctx->sigrdataset);
}
if (n == 0) {
/*
* We didn't match any rdatasets (which means