summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-transaction.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-12-10 20:48:42 +0100
committerDaniel Mack <github@zonque.org>2015-12-10 20:48:42 +0100
commitc57d67f718077aadee4e2d0940fb87f513b98671 (patch)
tree394c75707a9672611da33e5e78131efcf569d6c9 /src/resolve/resolved-dns-transaction.c
parent7b56301a88a0e78e791727bba098a79fc55879a7 (diff)
parenta257f9d4a53e98da6306b674d2cbb63b42d67d20 (diff)
Merge pull request #2096 from teg/resolved-cache
Misc resolved cache fixes
Diffstat (limited to 'src/resolve/resolved-dns-transaction.c')
-rw-r--r--src/resolve/resolved-dns-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c
index c03aa5d287..bcf6d5c810 100644
--- a/src/resolve/resolved-dns-transaction.c
+++ b/src/resolve/resolved-dns-transaction.c
@@ -1389,7 +1389,7 @@ int dns_transaction_validate_dnssec(DnsTransaction *t) {
}
/* Is this a CNAME for a record we were looking for? If so, it's also fatal for the whole transaction */
- r = dns_resource_key_match_cname(t->key, rr, NULL);
+ r = dns_resource_key_match_cname_or_dname(t->key, rr->key, NULL);
if (r < 0)
return r;
if (r > 0) {