slightly more generic for rcodes that are not SERVFAIL.

git-svn-id: file:///svn/unbound/trunk@4168 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-05-17 12:51:45 +00:00
parent cf2da96a28
commit 58fc4b8ea8

View file

@ -381,7 +381,7 @@ ipsecmod_handle_response(struct module_qstate* qstate,
reply_find_answer_rrset(&qstate->return_msg->qinfo,
qstate->return_msg->rep) &&
/* check that another module didn't SERVFAIL. */
qstate->return_rcode != LDNS_RCODE_SERVFAIL) {
qstate->return_rcode == LDNS_RCODE_NOERROR) {
char type[16];
sldns_wire2str_type_buf(qstate->qinfo.qtype, type,
sizeof(type));