spamassassin-net-dns-01.patch 521 B

1234567891011121314
  1. --- spamassassin/branches/3.4/lib/Mail/SpamAssassin/DnsResolver.pm 2015/07/20 18:23:18 1691991
  2. +++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/DnsResolver.pm 2015/07/20 18:24:48 1691992
  3. @@ -592,6 +592,9 @@
  4. };
  5. if ($packet) {
  6. + # RD flag needs to be set explicitly since Net::DNS 1.01, Bug 7223
  7. + $packet->header->rd(1);
  8. +
  9. # my $udp_payload_size = $self->{res}->udppacketsize;
  10. my $udp_payload_size = $self->{conf}->{dns_options}->{edns};
  11. if ($udp_payload_size && $udp_payload_size > 512) {