]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix DNSRPS code after struct dns_db refactoring
authorMichał Kępień <michal@isc.org>
Tue, 28 Feb 2023 08:16:05 +0000 (09:16 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 28 Feb 2023 08:16:05 +0000 (09:16 +0100)
commitdf3062ed52b67b2128576d8a6524df6f026c12de
tree23fb5f71ea38ec9c2c40b4a2499d394e1958ab1d
parentcdbdb5fceccf077e934029a4c2aea017d07067d6
Fix DNSRPS code after struct dns_db refactoring

Commits ffa4757c792579e3bc8316df6ce4f47093e0bde3 and
77e7eac54c51c5e23bf6e0349237442ea105d02a inadvertently broke
DNSRPS-enabled builds:

  - the new member of struct dns_db that holds a reference count for the
    database is called 'references', not 'refcount',

  - a syntax error was introduced in the designated initializer for
    'rpsdb_rdataset_methods',

  - rpsdb_destroy() no longer takes a 'dbp' argument.

Address all of the above issues to make DNSRPS-enabled builds work
again.
lib/dns/dnsrps.c