]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 24 Aug 2007 12:24:07 +0000 (12:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 24 Aug 2007 12:24:07 +0000 (12:24 +0000)
git-svn-id: file:///svn/unbound/trunk@545 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
validator/val_utils.c

index cd5299665fafbe552784d2f7e4411f64c97cb663..cc75f7498e1e2780c8f8fdc6bc9722901228a0b9 100644 (file)
@@ -3,6 +3,8 @@
        - val-clean-additional option, so you can turn it off.
        - move rrset verification out of the specific proof types into one
          routine. This makes the proof routines prettier.
+       - fixup cname handling in validator, cname-to-positive and cname-to-
+         nodata work.
 
 23 August 2007: Wouter
        - CNAME handling - move needs_validation to before val_new().
index 17fb05e375515d40bd8d15e0b16091ece92d93ca..48e809238db6e028fb23dd9ec38ed701bdafc9a7 100644 (file)
@@ -480,7 +480,7 @@ val_chase_cname(struct query_info* qchase, struct reply_info* rep,
                                &qchase->qname_len);
                        if(!qchase->qname)
                                return 0; /* bad CNAME rdata */
-                       (*cname_skip) = i;
+                       (*cname_skip) = i+1;
                        return 1;
                }
        }