diff --git a/unbound/daemon/remote.c b/unbound/daemon/remote.c index 5dc05c5..89eb2eb 100644 --- a/unbound/daemon/remote.c +++ b/unbound/daemon/remote.c @@ -844,7 +844,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 = ldns_lookup_by_id(ldns_rcodes, i); if(lt && lt->name) {