2
0
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:
Ondřej Surý
2024-12-06 19:46:39 +01:00
parent 43622594f4
commit 7a99d1baf8
7 changed files with 48 additions and 106 deletions

View File

@@ -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);
}
}
}