diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-21 16:28:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-26 19:09:09 +0100 |
commit | 65b200e70d01cb7c513114b602c9b5cf41348f77 (patch) | |
tree | 6ce491fdc9ed5ccd25a1dd64dc4258cce70e1f91 /src | |
parent | 81f7fc5e841472b626698f386ed9445dac13944a (diff) |
resolved: when matching SOA RRs, honour RR class
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-dns-rr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-rr.c b/src/resolve/resolved-dns-rr.c index 98a3a3351d..ac24169344 100644 --- a/src/resolve/resolved-dns-rr.c +++ b/src/resolve/resolved-dns-rr.c @@ -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) |