mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix num.expired statistics output.
This commit is contained in:
parent
afbc7bb4fe
commit
82f2ee63c5
2 changed files with 4 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ server_stats_compile(struct worker* worker, struct ub_stats_info* s, int reset)
|
||||||
s->svr.ans_secure += (long long)worker->env.mesh->ans_secure;
|
s->svr.ans_secure += (long long)worker->env.mesh->ans_secure;
|
||||||
s->svr.ans_bogus += (long long)worker->env.mesh->ans_bogus;
|
s->svr.ans_bogus += (long long)worker->env.mesh->ans_bogus;
|
||||||
s->svr.ans_rcode_nodata += (long long)worker->env.mesh->ans_nodata;
|
s->svr.ans_rcode_nodata += (long long)worker->env.mesh->ans_nodata;
|
||||||
|
s->svr.ans_expired += (long long)worker->env.mesh->ans_expired;
|
||||||
for(i=0; i<UB_STATS_RCODE_NUM; i++)
|
for(i=0; i<UB_STATS_RCODE_NUM; i++)
|
||||||
s->svr.ans_rcode[i] += (long long)worker->env.mesh->ans_rcode[i];
|
s->svr.ans_rcode[i] += (long long)worker->env.mesh->ans_rcode[i];
|
||||||
for(i=0; i<UB_STATS_RPZ_ACTION_NUM; i++)
|
for(i=0; i<UB_STATS_RPZ_ACTION_NUM; i++)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
9 September 2020: Wouter
|
||||||
|
- Fix num.expired statistics output.
|
||||||
|
|
||||||
31 August 2020: Wouter
|
31 August 2020: Wouter
|
||||||
- Merge PR #293: Add missing prototype. Also refactor to use the new
|
- Merge PR #293: Add missing prototype. Also refactor to use the new
|
||||||
shorthand function to clean up the code.
|
shorthand function to clean up the code.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue