mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-27 20:58:36 +00:00
Don't remove RRSIG RR from answers to ANY queries when the do bit is not set.
This commit is contained in:
1 parent
e66b4dff3c
commit
2ed162ac20
1 file changed
+5
@@ -1608,6 +1608,11 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
|
|||||||
GETSHORT(qtype, p);
|
GETSHORT(qtype, p);
|
||||||
GETSHORT(qclass, p);
|
GETSHORT(qclass, p);
|
||||||
|
|
||||||
|
/* Don't filter RRSIGS from answers to ANY queries, even if do-bit
|
||||||
|
not set. */
|
||||||
|
if (qtype == T_ANY)
|
||||||
|
*do_bit = 1;
|
||||||
|
|
||||||
ans = 0; /* have we answered this question */
|
ans = 0; /* have we answered this question */
|
||||||
|
|
||||||
if (qtype == T_TXT || qtype == T_ANY)
|
if (qtype == T_TXT || qtype == T_ANY)
|
||||||
|
|||||||
Reference in new issue
Block a user