mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-10 13:57:25 +03:00
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…
x
Reference in New Issue
Block a user