1 From 05299fdd5a3b6ace43224c7d27d06a57b175639f Mon Sep 17 00:00:00 2001
2 From: Simon Kelley <simon@thekelleys.org.uk>
3 Date: Mon, 15 Jul 2019 22:04:20 +0100
4 Subject: [PATCH 56/57] Fix wrong return code from explore_rrset() with some
7 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
10 1 file changed, 2 insertions(+), 2 deletions(-)
14 @@ -374,7 +374,7 @@ static int explore_rrset(struct dns_head
17 if (!(p = skip_questions(header, plen)))
21 /* look for RRSIGs for this RRset and get pointers to each RR in the set. */
22 for (rrsetidx = 0, sigidx = 0, j = ntohs(header->ancount) + ntohs(header->nscount);
23 @@ -386,7 +386,7 @@ static int explore_rrset(struct dns_head
26 if (!(res = extract_name(header, plen, &p, name, 0, 10)))
27 - return STAT_BOGUS; /* bad packet */
28 + return 0; /* bad packet */