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;