summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dns.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/dns.h b/include/dns.h
index 54cdf5672..f12dbdb1e 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -335,15 +335,6 @@ class DNS : public EventHandler
static const int MAX_REQUEST_ID = 0xFFFF;
/**
- * Server address being used currently
- */
- int socketfamily;
-#ifdef IPV6
- in6_addr myserver6;
-#endif
- in_addr myserver4;
-
- /**
* A counter used to form part of the pseudo-random id
*/
int currid;
@@ -373,6 +364,15 @@ class DNS : public EventHandler
public:
+ /**
+ * Server address being used currently
+ */
+ int socketfamily;
+#ifdef IPV6
+ in6_addr myserver6;
+#endif
+ in_addr myserver4;
+
/**
* Currently active Resolver classes
*/