]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/dnsmasq/0071-Fix-compiler-warning-when-not-including-DNSSEC.patch
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / src / patches / dnsmasq / 0071-Fix-compiler-warning-when-not-including-DNSSEC.patch
CommitLineData
c6ce1e7e
MT
1From 982faf402487e265ed11ac03524531d42b03c966 Mon Sep 17 00:00:00 2001
2From: Simon Kelley <simon@thekelleys.org.uk>
3Date: Fri, 3 Apr 2015 21:42:30 +0100
d54a2ce4 4Subject: [PATCH 71/78] Fix compiler warning when not including DNSSEC.
c6ce1e7e
MT
5
6---
7 src/forward.c | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10diff --git a/src/forward.c b/src/forward.c
11index e8cf615aa939..3f6b9a23b6ab 100644
12--- a/src/forward.c
13+++ b/src/forward.c
14@@ -530,7 +530,8 @@ static size_t process_reply(struct dns_header *header, time_t now, struct server
15 size_t plen;
16
17 (void)ad_reqd;
18- (void) do_bit;
19+ (void)do_bit;
20+ (void)bogusanswer;
21
22 #ifdef HAVE_IPSET
23 if (daemon->ipsets && extract_request(header, n, daemon->namebuff, NULL))
24--
252.1.0
26