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:
ae95d2c
)
fix: tcp did not return network type
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 12 Dec 2012 13:48:16 +0000
(13:48 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 12 Dec 2012 13:48:16 +0000
(13:48 +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 3b497082c16d6c35115b562746314c873630d857..8d026cd32d06827c2439ec3e7d7aa443bd033ee5 100644
(file)
--- a/
src/transport/plugin_transport_tcp.c
+++ b/
src/transport/plugin_transport_tcp.c
@@
-2050,7
+2050,7
@@
handle_tcp_data (void *cls, struct GNUNET_SERVER_Client *client,
&session->target,
message,
(const struct GNUNET_ATS_Information *) &distance,
-
1
, session,
+
2
, session,
(GNUNET_YES == session->inbound) ? NULL : session->addr,
(GNUNET_YES == session->inbound) ? 0 : session->addrlen);