projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1129037
)
don't know how this could have worked before
author
Nathan S. Evans
<evans@in.tum.de>
Tue, 21 Dec 2010 12:52:44 +0000
(12:52 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Tue, 21 Dec 2010 12:52:44 +0000
(12:52 +0000)
src/transport/plugin_transport_tcp.c
patch
|
blob
|
history
diff --git
a/src/transport/plugin_transport_tcp.c
b/src/transport/plugin_transport_tcp.c
index 6e2d236ab8019da45a0ebbfa1f3b1822a709d1f9..1ffc8b2605f8efd82ce3b0e02f01c6753feafcb1 100644
(file)
--- a/
src/transport/plugin_transport_tcp.c
+++ b/
src/transport/plugin_transport_tcp.c
@@
-2369,7
+2369,6
@@
tcp_plugin_server_read (void *cls,
/* construct socket address of sender */
memset (&sin_addr, 0, sizeof (sin_addr));
sin_addr.sin_family = AF_INET;
- sin_addr.sin_port = htons((uint16_t) port);
#if HAVE_SOCKADDR_IN_SIN_LEN
sin_addr.sin_len = sizeof (sin_addr);
#endif
@@
-2389,7
+2388,7
@@
tcp_plugin_server_read (void *cls,
plugin);
return;
}
-
+ sin_addr.sin_port = htons((uint16_t) port);
#if DEBUG_TCP_NAT
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
"tcp",