From 58fc4b8ea8c4b22f84afdf462a5a627c68917f4c Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 17 May 2017 12:51:45 +0000 Subject: [PATCH] slightly more generic for rcodes that are not SERVFAIL. git-svn-id: file:///svn/unbound/trunk@4168 be551aaa-1e26-0410-a405-d3ace91eadb9 --- ipsecmod/ipsecmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipsecmod/ipsecmod.c b/ipsecmod/ipsecmod.c index f132c7e9f..8c5f21e63 100644 --- a/ipsecmod/ipsecmod.c +++ b/ipsecmod/ipsecmod.c @@ -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)); -- 2.47.3