From ad189b60a19b7b8b4c56d4160d238d074d7a2c3e Mon Sep 17 00:00:00 2001 From: special Date: Thu, 13 Sep 2007 15:45:55 +0000 Subject: Fixed a compile error in m_ident on ipv6 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8037 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index e4b22d78f..87022dbd5 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -205,7 +205,7 @@ class ModuleIdent : public Module const char *ip = inet_ntoa(laddr.sin_addr); #else char ip[INET6_ADDRSTRLEN + 1]; - inet_ntop(laddr.sin6_family, laddr.sin6_addr, ip, INET6_ADDRSTRLEN); + inet_ntop(laddr.sin6_family, &laddr.sin6_addr, ip, INET6_ADDRSTRLEN); #endif IdentRequestSocket *isock = new IdentRequestSocket(ServerInstance, user, RequestTimeout, ip); -- cgit v1.2.3