mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Revert "Attach dnssecsignstats, rcvquerystats, and requeststats"
This reverts commit fb50a71159
.
This commit is contained in:
@@ -329,11 +329,9 @@ inc_stats(ns_client_t *client, dns_zone_t *zone, isc_statscounter_t counter) {
|
||||
ns_stats_increment(client->manager->sctx->nsstats, counter);
|
||||
|
||||
if (zone != NULL) {
|
||||
isc_stats_t *zonestats = NULL;
|
||||
dns_zone_getrequeststats(zone, &zonestats);
|
||||
isc_stats_t *zonestats = dns_zone_getrequeststats(zone);
|
||||
if (zonestats != NULL) {
|
||||
isc_stats_increment(zonestats, counter);
|
||||
isc_stats_detach(&zonestats);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user