~ubuntu-branches/ubuntu/raring/maradns/raring

« back to all changes in this revision

Viewing changes to update/1.3.07.03/maradns-1.3.07.02-recurse_delegation.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2010-01-24 12:17:40 UTC
  • mfrom: (1.1.13 upstream) (10.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100124121740-a4e1fjobwaouz443
Tags: 1.4.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- maradns-1.3.07.03/server/MaraDNS.c.orig     2007-08-16 08:01:27.000000000 -0500
2
 
+++ maradns-1.3.07.03/server/MaraDNS.c  2007-08-16 08:10:58.000000000 -0500
3
 
@@ -3018,7 +3018,9 @@
4
 
 
5
 
     nxstore = NULL;
6
 
 
7
 
-    do {
8
 
+    if(has_recursive_authority != 1 || desires_recursion != 1 
9
 
+       || recurse_delegation != 1) {
10
 
+      do {
11
 
         spot_data = mhash_get(bighash,lookfor);
12
 
         point = spot_data.value;
13
 
         /* We stop going up the tree if we have found an authoritative NS
14
 
@@ -3046,6 +3048,7 @@
15
 
             return JS_SUCCESS;
16
 
             }
17
 
         } while(bobbit_label(lookfor) > 0);
18
 
+    }
19
 
 
20
 
 skip_delegation_ns:
21