From: Wouter Wijngaards Date: Fri, 24 Aug 2007 12:24:07 +0000 (+0000) Subject: Fixup. X-Git-Tag: release-0.5~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a490e8777f35584e227a9e99f21f573b438d68f5;p=thirdparty%2Funbound.git Fixup. git-svn-id: file:///svn/unbound/trunk@545 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index cd5299665..cc75f7498 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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(). diff --git a/validator/val_utils.c b/validator/val_utils.c index 17fb05e37..48e809238 100644 --- a/validator/val_utils.c +++ b/validator/val_utils.c @@ -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; } }