From de25d946733f774e3a5b53a58438a9c92af0acbe Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 3 Oct 2009 01:52:59 +0000 Subject: Get rid of a bunch of memory-wasting C-style strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/dns.h | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'include/dns.h') diff --git a/include/dns.h b/include/dns.h index 1bce4f11a..76a69b6e4 100644 --- a/include/dns.h +++ b/include/dns.h @@ -319,14 +319,6 @@ class CoreExport DNS : public EventHandler */ int currid; - /** - * We have to turn off a few checks on received packets - * when people are using 4in6 (e.g. ::ffff:xxxx). This is - * a temporary kludge, Please let me know if you know how - * to fix it. - */ - bool ip6munge; - /** * Currently cached items */ @@ -344,20 +336,7 @@ class CoreExport DNS : public EventHandler public: - /** - * Server address being used currently - */ - int socketfamily; - - /** - * IPV6 server address - */ - in6_addr myserver6; - - /** - * IPV4 server address - */ - in_addr myserver4; + irc::sockets::sockaddrs myserver; /** * Currently active Resolver classes -- cgit v1.2.3