mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
test for SIGTYPE correctly
a comparison was incorrectly removed during a previous merge.
This commit is contained in:
parent
cc65a14d0e
commit
3e683a9ed5
1 changed files with 3 additions and 1 deletions
|
|
@ -957,7 +957,9 @@ cache_find(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version,
|
|||
DNS_SIGTYPE(dns_rdatatype_nsec))
|
||||
{
|
||||
nsecsig = header;
|
||||
} else if (cname_ok && DNS_SIGTYPE(dns_rdatatype_cname))
|
||||
} else if (cname_ok &&
|
||||
header->type ==
|
||||
DNS_SIGTYPE(dns_rdatatype_cname))
|
||||
{
|
||||
/*
|
||||
* If we get a CNAME match, we'll also need
|
||||
|
|
|
|||
Loading…
Reference in a new issue