summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-query.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-23 00:57:25 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-23 02:00:40 +0200
commit7e8e0422aeb16f2a09a40546c61df753d10029b6 (patch)
treec5fd640ba84c1b3c92367aa4540e90c69c557a0b /src/resolve/resolved-dns-query.h
parentresolved: rework logic so that we can share transactions between queries of d... (diff)
downloadsystemd-7e8e0422aeb16f2a09a40546c61df753d10029b6.tar.xz
systemd-7e8e0422aeb16f2a09a40546c61df753d10029b6.zip
resolved: implement negative caching
Diffstat (limited to 'src/resolve/resolved-dns-query.h')
-rw-r--r--src/resolve/resolved-dns-query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h
index 2756048be5..c26abb8853 100644
--- a/src/resolve/resolved-dns-query.h
+++ b/src/resolve/resolved-dns-query.h
@@ -60,6 +60,7 @@ struct DnsQueryTransaction {
DnsPacket *sent, *received;
DnsAnswer *cached;
+ int cached_rcode;
sd_event_source *timeout_event_source;
unsigned n_attempts;