From ba1d7c5dc271b752a1911a7a3c681cc46c8198a8 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Feb 2007 00:07:19 +0000 Subject: Fix the ipv6 end git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6510 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dns.cpp b/src/dns.cpp index d22c60c00..e0a93e37c 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -339,7 +339,7 @@ void DNS::Rehash() if (strchr(ServerInstance->Config->DNSServer,':')) { this->socketfamily = AF_INET6; - inet_pton(AF_INET6, &this->myserver6, ServerInstance->Config->DNSServer); + inet_pton(AF_INET6, ServerInstance->Config->DNSServer, &this->myserver6); } else inet_aton(ServerInstance->Config->DNSServer, &this->myserver4); -- cgit v1.2.3