resolved: when matching SOA RRs, honour RR class
This commit is contained in:
parent
81f7fc5e84
commit
65b200e70d
|
@ -261,7 +261,7 @@ int dns_resource_key_match_soa(const DnsResourceKey *key, const DnsResourceKey *
|
|||
|
||||
/* Checks whether 'soa' is a SOA record for the specified key. */
|
||||
|
||||
if (soa->class != DNS_CLASS_IN)
|
||||
if (soa->class != key->class)
|
||||
return 0;
|
||||
|
||||
if (soa->type != DNS_TYPE_SOA)
|
||||
|
|
Loading…
Reference in a new issue