From: W.C.A. Wijngaards Date: Fri, 12 Mar 2021 12:24:17 +0000 (+0100) Subject: - rpz triggers, document statistics and fix comment about statistics. X-Git-Tag: release-1.14.0rc1~62^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ea042c863e0c5d9d44a2ac5cd3263a37e7e7b49;p=thirdparty%2Funbound.git - rpz triggers, document statistics and fix comment about statistics. --- diff --git a/doc/unbound-control.8.in b/doc/unbound-control.8.in index 20325abf2..bdb14cff0 100644 --- a/doc/unbound-control.8.in +++ b/doc/unbound-control.8.in @@ -685,8 +685,8 @@ specific cache, after getting processed by the edns client subnet module. .TP .I num.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@ diff --git a/services/rpz.c b/services/rpz.c index 1e6cc0bd2..568ae9840 100644 --- a/services/rpz.c +++ b/services/rpz.c @@ -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;