Ecore: IN6_IS_ADDR_V4MAPPED needs an in6_addr as input on OSX

SVN revision: 64090
This commit is contained in:
Youness Alaoui 2011-10-15 09:30:58 +00:00
parent 74c3fe766e
commit 84e9551521
1 changed files with 1 additions and 1 deletions

View File

@ -1787,7 +1787,7 @@ _ecore_con_pretty_ip(struct sockaddr *client_addr)
case AF_INET6:
src = &(((struct sockaddr_in6 *)client_addr)->sin6_addr);
if (IN6_IS_ADDR_V4MAPPED(src))
if (IN6_IS_ADDR_V4MAPPED((struct in6_addr *)src))
{
family = AF_INET;
src = (char*)src + 12;