summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-26 14:39:49 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-27 01:41:39 +0100
commit919c2ae05c829de6a2a478341c7133ccb5f594f1 (patch)
tree67ec0120a5dd6b704b4c01d20d44dd8e982b6a1e /src/resolve
parent2c6bf498b6ce50ecc770080fbe31bdde13995e57 (diff)
resolved: make sure we reset the DNSSEC result when we accept a response packet
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-dns-transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c
index e772004106..ba1f8cc7af 100644
--- a/src/resolve/resolved-dns-transaction.c
+++ b/src/resolve/resolved-dns-transaction.c
@@ -693,6 +693,7 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
dns_answer_unref(t->answer);
t->answer = dns_answer_ref(p->answer);
t->answer_rcode = DNS_PACKET_RCODE(p);
+ t->answer_dnssec_result = _DNSSEC_RESULT_INVALID;
t->answer_authenticated = false;
r = dns_transaction_request_dnssec_keys(t);