From: Wouter Wijngaards Date: Wed, 12 Nov 2014 17:25:59 +0000 (+0000) Subject: - Patch from James Raftery, always print stats for rcodes 0..5. X-Git-Tag: release-1.5.1rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90592bdded856c74c6b1ada9ab956c488f97f300;p=thirdparty%2Funbound.git - Patch from James Raftery, always print stats for rcodes 0..5. git-svn-id: file:///svn/unbound/trunk@3267 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/remote.c b/daemon/remote.c index 88ea063f2..c49b07cd5 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -854,7 +854,8 @@ print_ext(SSL* ssl, struct stats_info* s) /* RCODE */ for(i=0; isvr.ans_rcode[i] == 0) + /* Always include RCODEs 0-5 */ + if(inhibit_zero && i > LDNS_RCODE_REFUSED && s->svr.ans_rcode[i] == 0) continue; lt = sldns_lookup_by_id(sldns_rcodes, i); if(lt && lt->name) { diff --git a/doc/Changelog b/doc/Changelog index 6effaea03..21420f096 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ - Removed 'increased limit open files' log message that is written to console. It is only written on verbosity 4 and higher. This keeps system bootup console cleaner. + - Patch from James Raftery, always print stats for rcodes 0..5. 11 November 2014: Wouter - iana portlist update.