From 8300ba218e3cf5049496937be8bce10f22d09bbc Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 24 Jun 2015 18:54:12 +0200 Subject: resolved: pin the server used in a transaction We want to discover information about the server and use that in when crafting packets to be resent. --- src/resolve/resolved-dns-transaction.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resolve/resolved-dns-transaction.h') diff --git a/src/resolve/resolved-dns-transaction.h b/src/resolve/resolved-dns-transaction.h index f6d539d315..42f846e7d1 100644 --- a/src/resolve/resolved-dns-transaction.h +++ b/src/resolve/resolved-dns-transaction.h @@ -61,6 +61,9 @@ struct DnsTransaction { sd_event_source *timeout_event_source; unsigned n_attempts; + /* the active server */ + DnsServer *server; + /* TCP connection logic, if we need it */ DnsStream *stream; -- cgit v1.2.3-54-g00ecf