aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-26 22:26:57 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-26 22:26:57 +0000
commit1791f39fa6dc0bc37d14af98a0684fe1a23fc697 (patch)
tree66b33b772226f77289f669e6d9e4afa03b42a22b /src/transport/plugin_transport_tcp.c
parent8a3016481ba6aeb36de3950a56e641dda53ca544 (diff)
downloadgnunet-1791f39fa6dc0bc37d14af98a0684fe1a23fc697.tar.gz
gnunet-1791f39fa6dc0bc37d14af98a0684fe1a23fc697.zip
partial fix of the NAT troubles
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index a8eee970c..af9538a68 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -38,9 +38,9 @@
38#include "gnunet_transport_plugin.h" 38#include "gnunet_transport_plugin.h"
39#include "transport.h" 39#include "transport.h"
40 40
41#define DEBUG_TCP GNUNET_YES 41#define DEBUG_TCP GNUNET_NO
42 42
43#define DEBUG_TCP_NAT GNUNET_YES 43#define DEBUG_TCP_NAT GNUNET_NO
44 44
45 45
46/** 46/**
@@ -1517,7 +1517,6 @@ handle_tcp_nat_probe (void *cls,
1517 } 1517 }
1518 1518
1519 tcp_nat_probe = (const struct TCP_NAT_ProbeMessage *)message; 1519 tcp_nat_probe = (const struct TCP_NAT_ProbeMessage *)message;
1520
1521 if (0 == memcmp (&tcp_nat_probe->clientIdentity, 1520 if (0 == memcmp (&tcp_nat_probe->clientIdentity,
1522 plugin->env->my_identity, 1521 plugin->env->my_identity,
1523 sizeof (struct GNUNET_PeerIdentity))) 1522 sizeof (struct GNUNET_PeerIdentity)))