[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27103 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27103 - gnunet/src/transport |
Date: |
Mon, 13 May 2013 14:55:21 +0200 |
Author: wachs
Date: 2013-05-13 14:55:20 +0200 (Mon, 13 May 2013)
New Revision: 27103
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
bound (IPv6) socket to wrong (IPv4) address
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2013-05-12 11:40:25 UTC (rev
27102)
+++ gnunet/src/transport/plugin_transport_udp.c 2013-05-13 12:55:20 UTC (rev
27103)
@@ -2691,7 +2691,7 @@
LOG (GNUNET_ERROR_TYPE_DEBUG, "Binding to IPv6 port %d\n",
ntohs (serverAddrv6->sin6_port));
tries = 0;
- while (GNUNET_NETWORK_socket_bind (plugin->sockv6, serverAddr, addrlen)
!=
+ while (GNUNET_NETWORK_socket_bind (plugin->sockv6, serverAddrv6,
addrlen) !=
GNUNET_OK)
{
serverAddrv6->sin6_port = htons (GNUNET_CRYPTO_random_u32
(GNUNET_CRYPTO_QUALITY_STRONG, 33537) + 32000); /* Find a good, non-root
port */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27103 - gnunet/src/transport,
gnunet <=