diff --git a/daemon/remote.c b/daemon/remote.c index 8c5ae32fc..7543892ea 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -745,7 +745,7 @@ print_ext(SSL* ssl, struct stats_info* s) snprintf(nm, sizeof(nm), "RCODE%d", i); } 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(!ssl_printf(ssl, "num.answer.rcode.nodata"SQ"%u\n", diff --git a/doc/Changelog b/doc/Changelog index 7ee684001..9d1007123 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ - ldns trunk no longer exports b32 functions, provide compat. - ldns tarball updated. - testcode/ldns-testpkts.c const fixups. + - fixed rcode stat printout. 16 September 2008: Wouter - extended-statistics: yesno config option.