aboutsummaryrefslogtreecommitdiff
path: root/mail/spamassassin/files
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-07-21 12:56:52 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-07-21 12:56:52 +0000
commite918a422332d73e6e0c5e29af8393c09560a221b (patch)
treedc4f1f44e7690a60a861e567dbe9474d26071c48 /mail/spamassassin/files
parent53a3544c7776d53132a52b9dfa3edf83567939f5 (diff)
downloadports-e918a422332d73e6e0c5e29af8393c09560a221b.tar.gz
ports-e918a422332d73e6e0c5e29af8393c09560a221b.zip
Notes
Diffstat (limited to 'mail/spamassassin/files')
-rw-r--r--mail/spamassassin/files/patch-DnsResolver.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/spamassassin/files/patch-DnsResolver.pm b/mail/spamassassin/files/patch-DnsResolver.pm
new file mode 100644
index 000000000000..f72975de63b7
--- /dev/null
+++ b/mail/spamassassin/files/patch-DnsResolver.pm
@@ -0,0 +1,12 @@
+--- lib/Mail/SpamAssassin/DnsResolver.pm 2015/07/20 18:23:18 1691991
++++ lib/Mail/SpamAssassin/DnsResolver.pm 2015/07/20 18:24:48 1691992
+@@ -592,6 +592,9 @@
+ };
+
+ if ($packet) {
++ # RD flag needs to be set explicitly since Net::DNS 1.01, Bug 7223
++ $packet->header->rd(1);
++
+ # my $udp_payload_size = $self->{res}->udppacketsize;
+ my $udp_payload_size = $self->{conf}->{dns_options}->{edns};
+ if ($udp_payload_size && $udp_payload_size > 512) {