mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
1830. [bug] adb lame cache has sence of test reversed. [RT #13600]
This commit is contained in:
parent
1439214380
commit
4f21f7feaf
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
||||
1830. [bug] adb lame cache has sence of test reversed. [RT #13600]
|
||||
|
||||
1829. [bug] win32: "pid-file none;" broken. [RT #13563]
|
||||
|
||||
1828. [bug] isc_rwlock_init() failed to properly cleanup if it
|
||||
|
@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: adb.c,v 1.218 2004/11/10 22:33:18 marka Exp $ */
|
||||
/* $Id: adb.c,v 1.219 2005/03/15 23:38:27 marka Exp $ */
|
||||
|
||||
/*
|
||||
* Implementation notes
|
||||
@ -3347,7 +3347,7 @@ dns_adb_marklame(dns_adb_t *adb, dns_adbaddrinfo_t *addr, dns_name_t *zone,
|
||||
bucket = addr->entry->lock_bucket;
|
||||
LOCK(&adb->entrylocks[bucket]);
|
||||
zi = ISC_LIST_HEAD(addr->entry->zoneinfo);
|
||||
while (zi != NULL && dns_name_equal(zone, &zi->zone))
|
||||
while (zi != NULL && !dns_name_equal(zone, &zi->zone))
|
||||
zi = ISC_LIST_NEXT(zi, plink);
|
||||
if (zi != NULL) {
|
||||
if (expire_time > zi->lame_timer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user