[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11845 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11845 - gnunet/src/transport |
Date: |
Mon, 21 Jun 2010 13:27:07 +0200 |
Author: nevans
Date: 2010-06-21 13:27:07 +0200 (Mon, 21 Jun 2010)
New Revision: 11845
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
codesonar changes/fixes
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2010-06-21 11:26:31 UTC (rev
11844)
+++ gnunet/src/transport/plugin_transport_udp.c 2010-06-21 11:27:07 UTC (rev
11845)
@@ -751,7 +751,7 @@
v4 = (struct sockaddr_in *) addr;
if ((plugin->behind_nat == GNUNET_YES) && (plugin->only_nat_addresses ==
GNUNET_YES))
{
- v4->sin_port = htons (0); /* Indicates to receiver we are behind NAT
*/
+ v4->sin_port = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_MESSAGE); /*
Indicates to receiver we are behind NAT */
}
else if (plugin->behind_nat == GNUNET_YES) /* We are behind NAT, but
will advertise NAT and normal addresses */
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11845 - gnunet/src/transport,
gnunet <=