2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

1830. [bug] adb lame cache has sence of test reversed. [RT #13600]

This commit is contained in:
Mark Andrews 2005-03-15 23:38:27 +00:00
parent 1439214380
commit 4f21f7feaf
2 changed files with 4 additions and 2 deletions

View File

@ -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] 1829. [bug] win32: "pid-file none;" broken. [RT #13563]
1828. [bug] isc_rwlock_init() failed to properly cleanup if it 1828. [bug] isc_rwlock_init() failed to properly cleanup if it

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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 * 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; bucket = addr->entry->lock_bucket;
LOCK(&adb->entrylocks[bucket]); LOCK(&adb->entrylocks[bucket]);
zi = ISC_LIST_HEAD(addr->entry->zoneinfo); 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); zi = ISC_LIST_NEXT(zi, plink);
if (zi != NULL) { if (zi != NULL) {
if (expire_time > zi->lame_timer) if (expire_time > zi->lame_timer)