blob: bc67118743e935be00bbc6a2017303fbd4296e36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: libircclient.c
===================================================================
--- a/src/libircclient.c (revision 125)
+++ b/src/libircclient.c (working copy)
@@ -817,7 +817,7 @@
if (saddr.ss_family == AF_INET)
memcpy (&session->local_addr, &((struct sockaddr_in *)&laddr)->sin_addr, sizeof(struct in_addr));
else
- memcpy (&session->local_addr, &((struct sockaddr_in6 *)&laddr)->sin6_addr, sizeof(struct in6_addr));
+ memcpy (&session->local_addr6, &((struct sockaddr_in6 *)&laddr)->sin6_addr, sizeof(struct in6_addr));
#if defined (ENABLE_DEBUG)
if ( IS_DEBUG_ENABLED(session) )
|