]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Mar 2017 09:29:59 +0000 (09:29 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 16 Mar 2017 09:29:59 +0000 (09:29 +0000)
git-svn-id: file:///svn/unbound/trunk@4054 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/worker.c

index db4020036f3e1ccdfe1e8e0654c70dd1db507c3d..c2b7dc8e804c91d4faade369b750114f0bce5912 100644 (file)
@@ -793,6 +793,7 @@ chaos_trustanchor(sldns_buffer* pkt, struct edns_data* edns, struct worker* w)
        if(!w->env.need_to_validate) {
                /* no validator module, reply no trustanchors */
                chaos_replystr(pkt, NULL, 0, edns, w);
+               return;
        }
 
        /* fill the string with contents */