dq->tag = tag;
dq->ednsOptions = ednsOpts;
bool handled=func(dq);
- if(variable) *variable |= dq->variable; // could still be set to indicate this *name* is variable
+ if(variable) *variable |= dq->variable; // could still be set to indicate this *name* is variable, even if not 'handled'
+
+ if (policyTags) { // same
+ *policyTags = dq->policyTags;
+ }
if(handled) {
loop:;
if (appliedPolicy) {
*appliedPolicy=dq->appliedPolicy;
}
- if (policyTags) {
- *policyTags = dq->policyTags;
- }
}