rcode stat printout fixed.

git-svn-id: file:///svn/unbound/trunk@1244 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2008-09-17 11:33:40 +00:00
parent 370236cb65
commit 7a1ba7785d
2 changed files with 2 additions and 1 deletions

View file

@ -745,7 +745,7 @@ print_ext(SSL* ssl, struct stats_info* s)
snprintf(nm, sizeof(nm), "RCODE%d", i); snprintf(nm, sizeof(nm), "RCODE%d", i);
} }
if(!ssl_printf(ssl, "num.answer.rcode.%s"SQ"%u\n", if(!ssl_printf(ssl, "num.answer.rcode.%s"SQ"%u\n",
nm, (unsigned)s->svr.qopcode[i])) return 0; nm, (unsigned)s->svr.ans_rcode[i])) return 0;
} }
if(!inhibit_zero || s->svr.ans_rcode_nodata) { if(!inhibit_zero || s->svr.ans_rcode_nodata) {
if(!ssl_printf(ssl, "num.answer.rcode.nodata"SQ"%u\n", if(!ssl_printf(ssl, "num.answer.rcode.nodata"SQ"%u\n",

View file

@ -3,6 +3,7 @@
- ldns trunk no longer exports b32 functions, provide compat. - ldns trunk no longer exports b32 functions, provide compat.
- ldns tarball updated. - ldns tarball updated.
- testcode/ldns-testpkts.c const fixups. - testcode/ldns-testpkts.c const fixups.
- fixed rcode stat printout.
16 September 2008: Wouter 16 September 2008: Wouter
- extended-statistics: yesno config option. - extended-statistics: yesno config option.