From a490e8777f35584e227a9e99f21f573b438d68f5 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 24 Aug 2007 12:24:07 +0000 Subject: [PATCH] Fixup. git-svn-id: file:///svn/unbound/trunk@545 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 2 ++ validator/val_utils.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; } } -- 2.47.2