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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user