2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Extend dns_db_nodecount to access auxilary rbt node counts

dns_db_nodecount can now be used to get counts from the auxilary
rbt databases.  The existing node count is returned by
tree=dns_dbtree_main.  The nsec and nsec3 node counts by dns_dbtree_nsec
and dns_dbtree_nsec3 respectively.
This commit is contained in:
Mark Andrews
2021-10-20 12:01:00 +11:00
committed by Petr Špaček
parent cad24b8dc4
commit 85bfcaeb2e
12 changed files with 43 additions and 18 deletions

View File

@@ -1186,8 +1186,9 @@ issecure(dns_db_t *db) {
}
static unsigned int
nodecount(dns_db_t *db) {
nodecount(dns_db_t *db, dns_dbtree_t tree) {
UNUSED(db);
UNUSED(tree);
return (0);
}