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:
2ae80e7
)
-actually copy payload
author
Christian Grothoff
<christian@grothoff.org>
Thu, 26 Jan 2012 22:43:50 +0000
(22:43 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 26 Jan 2012 22:43:50 +0000
(22:43 +0000)
src/vpn/gnunet-service-vpn.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-service-vpn.c
b/src/vpn/gnunet-service-vpn.c
index be0760bce1718ac19871bdac4a0eb6b2a7f7c394..a32e739d2f5976187e79518761e17af611328a48 100644
(file)
--- a/
src/vpn/gnunet-service-vpn.c
+++ b/
src/vpn/gnunet-service-vpn.c
@@
-2286,8
+2286,11
@@
receive_tcp_back (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel,
tcp->dpt = htons (ts->source_port);
GNUNET_TUN_calculate_tcp6_checksum (ipv6,
tcp,
- &
tcp
[1],
+ &
data
[1],
mlen);
+ memcpy (&tcp[1],
+ &data[1],
+ mlen);
(void) GNUNET_HELPER_send (helper_handle,
msg,
GNUNET_YES,