summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-rr.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-21 16:28:35 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-26 19:09:09 +0100
commit65b200e70d01cb7c513114b602c9b5cf41348f77 (patch)
tree6ce491fdc9ed5ccd25a1dd64dc4258cce70e1f91 /src/resolve/resolved-dns-rr.c
parent81f7fc5e841472b626698f386ed9445dac13944a (diff)
resolved: when matching SOA RRs, honour RR class
Diffstat (limited to 'src/resolve/resolved-dns-rr.c')
-rw-r--r--src/resolve/resolved-dns-rr.c2
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)