mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
fix logic bug
This commit is contained in:
parent
fcc30797e1
commit
f6d54f6ccb
1 changed files with 1 additions and 1 deletions
|
|
@ -1725,7 +1725,7 @@ dns_adb_createfind(dns_adb_t *adb, isc_task_t *task, isc_taskaction_t action,
|
|||
*/
|
||||
if (WANTEVENT(find->options)
|
||||
&& QUERYPENDING(wanted_addresses, adbname->query_pending)
|
||||
&& (WANTEMPTYEVENT(find->options) ? HAVE_ADDRS(find) : 1)) {
|
||||
&& (WANTEMPTYEVENT(find->options) ? !HAVE_ADDRS(find) : 1)) {
|
||||
find->adbname = adbname;
|
||||
find->name_bucket = bucket;
|
||||
ISC_LIST_APPEND(adbname->finds, find, plink);
|
||||
|
|
|
|||
Loading…
Reference in a new issue