From: Wouter Wijngaards Date: Sun, 10 May 2015 12:04:22 +0000 (+0000) Subject: - Change syntax of particular validator error to be easier for X-Git-Tag: release-1.5.4~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfd78a8c2347aebd9ddb3c0e87ad8e71cd9f963e;p=thirdparty%2Funbound.git - Change syntax of particular validator error to be easier for machine parse, swap rrset and ip adres info so it looks like: validation failure : signature crypto failed from 2001:DB8:7:bba4::53 for <*.example.nl. NSEC IN> git-svn-id: file:///svn/unbound/trunk@3422 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 669e083a3..571c980af 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,9 @@ +10 May 2015: Wouter + - Change syntax of particular validator error to be easier for + machine parse, swap rrset and ip adres info so it looks like: + validation failure : signature crypto + failed from 2001:DB8:7:bba4::53 for <*.example.nl. NSEC IN> + 1 May 2015: Wouter - caps-whitelist in unbound.conf allows whitelist of loadbalancers that cannot work with caps-for-id or its fallback. diff --git a/validator/validator.c b/validator/validator.c index a02525fee..3981d4fa1 100644 --- a/validator/validator.c +++ b/validator/validator.c @@ -519,8 +519,8 @@ validate_msg_signatures(struct module_qstate* qstate, struct module_env* env, "has failed AUTHORITY rrset:", s->rk.dname, ntohs(s->rk.type), ntohs(s->rk.rrset_class)); errinf(qstate, reason); - errinf_rrset(qstate, s); errinf_origin(qstate, qstate->reply_origin); + errinf_rrset(qstate, s); chase_reply->security = sec_status_bogus; return 0; }