diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-24 18:54:12 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-07-14 18:50:53 +0200 |
commit | 8300ba218e3cf5049496937be8bce10f22d09bbc (patch) | |
tree | f0be112a2c74809d87b38331cecd52af677800ec /src/resolve/resolved-dns-server.h | |
parent | 91b14d6ff362b938a72db17b095ee9903d07381b (diff) |
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.
Diffstat (limited to 'src/resolve/resolved-dns-server.h')
-rw-r--r-- | src/resolve/resolved-dns-server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-server.h b/src/resolve/resolved-dns-server.h index 03013beb82..06059e8829 100644 --- a/src/resolve/resolved-dns-server.h +++ b/src/resolve/resolved-dns-server.h @@ -62,4 +62,6 @@ int dns_server_new( DnsServer* dns_server_ref(DnsServer *s); DnsServer* dns_server_unref(DnsServer *s); +DEFINE_TRIVIAL_CLEANUP_FUNC(DnsServer*, dns_server_unref); + extern const struct hash_ops dns_server_hash_ops; |