fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 24 Nov 2010 20:50:12 +0000 (20:50 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 24 Nov 2010 20:50:12 +0000 (20:50 +0000)
src/transport/plugin_transport_tcp.c

index 134bf50400e2bc1412be64e30252a29920df29ff..18aad989c68dece175636b526ef2cc25e1a6fcdf 100644 (file)
@@ -609,7 +609,7 @@ add_to_address_list (struct Plugin *plugin,
       v6.sin6_port = htons (plugin->open_port);
       memcpy (&v6.sin6_addr, arg, arg_size);
 #if HAVE_SOCKADDR_IN_SIN_LEN
-      v6.sin_len = sizeof (struct sockaddr_in6);
+      v6.sin6_len = sizeof (struct sockaddr_in6);
 #endif
       sa = (const struct sockaddr*) &v6;
       salen = sizeof (v6);