DNS_VALIDATOR_NONTA needs passed to sub validator

This commit is contained in:
Mark Andrews
2014-07-02 14:12:15 +10:00
parent 547411428e
commit 5d63868ad0

View File

@@ -1169,8 +1169,8 @@ create_validator(dns_validator_t *val, dns_name_t *name, dns_rdatatype_t type,
return (DNS_R_NOVALIDSIG);
}
/* OK to clear other options, but preserve NOCDFLAG */
vopts |= (val->options & DNS_VALIDATOR_NOCDFLAG);
/* OK to clear other options, but preserve NOCDFLAG and NONTA. */
vopts |= (val->options & (DNS_VALIDATOR_NOCDFLAG|DNS_VALIDATOR_NONTA));
validator_logcreate(val, name, type, caller, "validator");
result = dns_validator_create(val->view, name, type,