mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-15 08:37:51 -05:00
More vallog reason. Doxygen.
git-svn-id: file:///svn/unbound/trunk@1869 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ce45cbda6d
commit
e0b639accd
3 changed files with 8 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue