28 |
|
#endif |
29 |
|
|
30 |
|
#include "stdinc.h" |
31 |
– |
#include "tools.h" |
31 |
|
#include "irc_string.h" |
32 |
|
#include "sprintf_irc.h" |
34 |
– |
#include "client.h" |
35 |
– |
#include "list.h" |
36 |
– |
#include "memory.h" |
33 |
|
|
34 |
|
#ifndef INADDRSZ |
35 |
|
#define INADDRSZ 4 |
422 |
|
case AF_INET6: |
423 |
|
if (IN6_IS_ADDR_V4MAPPED((const struct in6_addr *)src) || |
424 |
|
IN6_IS_ADDR_V4COMPAT((const struct in6_addr *)src)) |
425 |
< |
return inet_ntop4((unsigned char *)&((const struct in6_addr *)src)->s6_addr[12], dst, size); |
425 |
> |
return inet_ntop4((const unsigned char *)&((const struct in6_addr *)src)->s6_addr[12], dst, size); |
426 |
|
else |
427 |
|
return inet_ntop6(src, dst, size); |
428 |
|
#endif |