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

1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()

for conformance to the name space convention.  Binary
                        backward compatibility to the old function name is
                        provided. [RT #12376]
This commit is contained in:
Mark Andrews
2004-09-01 05:13:06 +00:00
parent a90cf89180
commit d6fe7ba949
4 changed files with 25 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: adb.c,v 1.216 2004/06/18 01:22:32 marka Exp $ */
/* $Id: adb.c,v 1.217 2004/09/01 05:13:04 marka Exp $ */
/*
* Implementation notes
@@ -1581,7 +1581,7 @@ find_name_and_lock(dns_adb_t *adb, dns_name_t *name,
dns_adbname_t *adbname;
int bucket;
bucket = dns_fullname_hash(name, ISC_FALSE) % NBUCKETS;
bucket = dns_name_fullhash(name, ISC_FALSE) % NBUCKETS;
if (*bucketp == DNS_ADB_INVALIDBUCKET) {
LOCK(&adb->namelocks[bucket]);