From: Wouter Wijngaards Date: Thu, 8 Oct 2009 06:35:14 +0000 (+0000) Subject: More vallog reason. Doxygen. X-Git-Tag: release-1.4.0rc1~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0b639accde0c11c2146d0afb313b41b982df790;p=thirdparty%2Funbound.git More vallog reason. Doxygen. git-svn-id: file:///svn/unbound/trunk@1869 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index c838335e0..34ec07e8b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +8 October 2009: Wouter + - please doxygen + - add val-log-level print to corner case (nameserver.epost.bg). + 7 October 2009: Wouter - retry for validation failure in DS and prime results. Less mem use. unit test. Provisioning in other tests for requeries. diff --git a/validator/val_utils.h b/validator/val_utils.h index ab6e518ae..f5e865be4 100644 --- a/validator/val_utils.h +++ b/validator/val_utils.h @@ -322,7 +322,7 @@ void val_errinf(struct module_qstate* qstate, struct val_qstate* vq, * Append text to error info: from 1.2.3.4 * @param qstate: query state. * @param vq: validator state. - * @param list: sock list with origin of trouble. + * @param origin: sock list with origin of trouble. * Every element added. * If NULL: nothing is added. * if 0len element: 'from cache' is added. @@ -345,7 +345,6 @@ void val_errinf_rrset(struct module_qstate* qstate, struct val_qstate* vq, * @param vq: validator state. * @param str: explanation string * @param dname: the dname. - * @param rr: rrset_key. */ void val_errinf_dname(struct module_qstate* qstate, struct val_qstate* vq, const char* str, uint8_t* dname); diff --git a/validator/validator.c b/validator/validator.c index d155bf53a..7d8fb3dfd 100644 --- a/validator/validator.c +++ b/validator/validator.c @@ -2520,6 +2520,9 @@ process_dnskey_response(struct module_qstate* qstate, struct val_qstate* vq, log_err("alloc failure in missing dnskey response"); /* key_entry is NULL for failure in Validate */ } + val_errinf(qstate, vq, "No DNSKEY record"); + val_errinf_origin(qstate, vq, origin); + val_errinf_dname(qstate, vq, "for key", qinfo->qname); vq->state = VAL_VALIDATE_STATE; return; }