diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dns.h | 6 |
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 |