From 525e038f8df80be4f743d26a7f7f75293b2618b5 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Oct 2007 18:26:46 +0000 Subject: Fix here too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8229 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index fc663c714..705b0d16d 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -63,7 +63,7 @@ class IdentRequestSocket : public EventHandler memcpy(&((sockaddr_in6*)addr)->sin6_addr, &addy, sizeof(addy)); ((sockaddr_in6*)addr)->sin6_port = htons(113); size = sizeof(sockaddr_in6); - inet_pton(AF_INET6, IP.c_str(), &n); + inet_pton(AF_INET6, bindip.c_str(), &n); memcpy(&((sockaddr_in6*)s)->sin6_addr, &n, sizeof(sockaddr_in6)); ((sockaddr_in6*)s)->sin6_port = 0; ((sockaddr_in6*)s)->sin6_family = AF_INET6; -- cgit v1.2.3