summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-question.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-question.c
parent7b56301a88a0e78e791727bba098a79fc55879a7 (diff)
parenta257f9d4a53e98da6306b674d2cbb63b42d67d20 (diff)
Merge pull request #2096 from teg/resolved-cache
Misc resolved cache fixes
Diffstat (limited to 'src/resolve/resolved-dns-question.c')
-rw-r--r--src/resolve/resolved-dns-question.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-question.c b/src/resolve/resolved-dns-question.c
index 3249448d3b..4ed7434d3c 100644
--- a/src/resolve/resolved-dns-question.c
+++ b/src/resolve/resolved-dns-question.c
@@ -117,7 +117,7 @@ int dns_question_matches_cname(DnsQuestion *q, DnsResourceRecord *rr, const char
return 0;
for (i = 0; i < q->n_keys; i++) {
- r = dns_resource_key_match_cname(q->keys[i], rr, search_domain);
+ r = dns_resource_key_match_cname_or_dname(q->keys[i], rr->key, search_domain);
if (r != 0)
return r;
}