From 2ae80e7257ac8432736d6dc9a023ae57b190a969 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 26 Jan 2012 22:12:39 +0000 Subject: [PATCH] -set tcp header --- src/vpn/gnunet-service-vpn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index fbfd6e7f5..be0760bce 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c @@ -2281,6 +2281,7 @@ receive_tcp_back (void *cls GNUNET_UNUSED, struct GNUNET_MESH_Tunnel *tunnel, sizeof (struct GNUNET_TUN_TcpHeader) + mlen, &ts->destination_ip.v6, &ts->source_ip.v6); + *tcp = data->tcp_header; tcp->spt = htons (ts->destination_port); tcp->dpt = htons (ts->source_port); GNUNET_TUN_calculate_tcp6_checksum (ipv6, -- 2.25.1