From a6533d88996e7570cf04db0d99b6012d25a953d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 3 Sep 2016 15:08:13 +0000 Subject: import unbound 1.5.9 --- pythonmod/pythonmod_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pythonmod/pythonmod_utils.c') diff --git a/pythonmod/pythonmod_utils.c b/pythonmod/pythonmod_utils.c index 5120074e839a..ae694d57693a 100644 --- a/pythonmod/pythonmod_utils.c +++ b/pythonmod/pythonmod_utils.c @@ -129,7 +129,8 @@ int createResponse(struct module_qstate* qstate, sldns_buffer* pkt) return 0; } /* edns is not examined, but removed from message to help cache */ - if(parse_extract_edns(prs, &edns) != LDNS_RCODE_NOERROR) + if(parse_extract_edns(prs, &edns, qstate->env->scratch) != + LDNS_RCODE_NOERROR) return 0; /* remove CD-bit, we asked for in case we handle validation ourself */ -- cgit v1.2.3