~ubuntu-branches/ubuntu/wily/maradns/wily-proposed

« back to all changes in this revision

Viewing changes to deadwood-3.2.07/update/3.0.05/deadwood-3.0.04-ra_must_be_set.patch

  • Committer: Package Import Robot
  • Author(s): Dariusz Dwornikowski, Tomasz Buchert, Dariusz Dwornikowski
  • Date: 2015-03-27 18:34:08 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20150327183408-wnfachdkdjt96yu6
Tags: 2.0.11-1
[ Tomasz Buchert ]
* Imported Upstream version 2.0.11

[ Dariusz Dwornikowski ]
* d/patches: 
  - refreshed all patches for new deadwood version
  - removed generating of random prime on build (Closes: #785536) 
* d/rules: date taken from changelog (Closes: #785535)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- deadwood-3.0.04/src/DwUdpSocket.c   2011-11-01 10:25:24.000000000 -0600
 
2
+++ deadwood-fix_reject_aaaa/src/DwUdpSocket.c  2011-11-07 23:48:31.067213930 -0600
 
3
@@ -690,6 +690,9 @@
 
4
                 /* Flag this as an answer */
 
5
                 answer[2] |= 0x80;
 
6
 
 
7
+               /* Flag RA bit because, well, recursion is available */
 
8
+               answer[3] |= 0x80;
 
9
+
 
10
                 /* One "NS" record; no other records */
 
11
                 answer[9] = 1;
 
12
                 answer[6] = answer[7] = answer[8] = answer[10] = answer[11] =0;