aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-10 16:07:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-10 16:07:30 +0000
commit2e56b46050c75c968d7efa8fd0b7eb636a260dba (patch)
tree1c34a49ef2ac45c27c93f64f3d4c40105d6b7ee9 /src/dns.h
parent546d3478737b90f774d566b49b819b3d96bc121b (diff)
downloadrspamd-2e56b46050c75c968d7efa8fd0b7eb636a260dba.tar.gz
rspamd-2e56b46050c75c968d7efa8fd0b7eb636a260dba.zip
Revert dns changes for now, as they require more testing.
Diffstat (limited to 'src/dns.h')
-rw-r--r--src/dns.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dns.h b/src/dns.h
index 6a6cda358..b04aa285f 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -5,7 +5,6 @@
#include "mem_pool.h"
#include "events.h"
#include "upstream.h"
-#include "util.h"
#define MAX_SERVERS 16
@@ -24,7 +23,7 @@ typedef void (*dns_callback_type) (struct rspamd_dns_reply *reply, gpointer arg)
struct rspamd_dns_server {
struct upstream up; /**< upstream structure */
gchar *name; /**< name of DNS server */
- union sa_union addr; /**< address storage */
+ gint sock; /**< persistent socket */
struct event ev;
};
@@ -83,8 +82,6 @@ struct rspamd_dns_request {
struct timeval tv;
guint retransmits;
guint16 id;
- guint16 port;
- guint32 key;
struct rspamd_async_session *session;
struct rspamd_dns_reply *reply;
guint8 *packet;