- rpz triggers, document statistics and fix comment about statistics.

This commit is contained in:
W.C.A. Wijngaards 2021-03-12 13:24:17 +01:00
parent 62674aaff8
commit 5ea042c863
2 changed files with 2 additions and 3 deletions

View file

@ -685,8 +685,8 @@ specific cache, after getting processed by the edns client subnet module.
.TP
.I num.rpz.action.<rpz_action>
Number of queries answered using configured RPZ policy, per RPZ action type.
Possible actions are: nxdomain, nodata, passthru, drop, local_data, disabled,
and cname_override.
Possible actions are: nxdomain, nodata, passthru, drop, tcp\-only, local\-data,
disabled, and cname\-override.
.SH "FILES"
.TP
.I @ub_conf_file@

View file

@ -1388,7 +1388,6 @@ rpz_resolve_client_action_and_zone(struct auth_zones* az, struct query_info* qin
log_rpz_apply(z->name,
r->action_override,
qinfo, repinfo, r->log_name);
/* TODO only register stats when stats_extended? */
stats->rpz_action[r->action_override]++;
lock_rw_unlock(&z->lock);
z = NULL;