summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h
index 6913527ae..54cdf5672 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -337,7 +337,11 @@ class DNS : public EventHandler
/**
* Server address being used currently
*/
- insp_inaddr myserver;
+ int socketfamily;
+#ifdef IPV6
+ in6_addr myserver6;
+#endif
+ in_addr myserver4;
/**
* A counter used to form part of the pseudo-random id