]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/dnsmasq/dnsmasq-2.73-remove-floor-on-edns0-packet-size-with-DNSSEC.patch
Merge remote-tracking branch 'glotzi/monit' into next
[ipfire-2.x.git] / src / patches / dnsmasq / dnsmasq-2.73-remove-floor-on-edns0-packet-size-with-DNSSEC.patch
1 From 800c5cc1e7438818fd80f08c2d472df249a6942d Mon Sep 17 00:00:00 2001
2 From: Simon Kelley <simon@thekelleys.org.uk>
3 Date: Mon, 15 Dec 2014 17:50:15 +0000
4 Subject: [PATCH] Remove floor on EDNS0 packet size with DNSSEC.
5
6 ---
7 src/dnsmasq.c | 5 -----
8 1 files changed, 5 deletions(-)
9
10 diff --git a/src/dnsmasq.c b/src/dnsmasq.c
11 index bf2e25a..5c7750d 100644
12 --- a/src/dnsmasq.c
13 +++ b/src/dnsmasq.c
14 @@ -87,11 +87,6 @@ int main (int argc, char **argv)
15
16 if (daemon->edns_pktsz < PACKETSZ)
17 daemon->edns_pktsz = PACKETSZ;
18 -#ifdef HAVE_DNSSEC
19 - /* Enforce min packet big enough for DNSSEC */
20 - if (option_bool(OPT_DNSSEC_VALID) && daemon->edns_pktsz < EDNS_PKTSZ)
21 - daemon->edns_pktsz = EDNS_PKTSZ;
22 -#endif
23
24 daemon->packet_buff_sz = daemon->edns_pktsz > DNSMASQ_PACKETSZ ?
25 daemon->edns_pktsz : DNSMASQ_PACKETSZ;
26 --
27 1.7.10.4
28