-fix off-by-tcp-header size
authorChristian Grothoff <christian@grothoff.org>
Fri, 20 Jan 2012 16:29:59 +0000 (16:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 20 Jan 2012 16:29:59 +0000 (16:29 +0000)
src/exit/gnunet-daemon-exit.c

index 4ae61e136ba9a71bff43758be8da1be488a2df45..316133a759541bb9925b280bd277ba5498f0ab86 100644 (file)
@@ -1249,7 +1249,7 @@ send_tcp_packet_via_tun (const struct SocketAddress *destination_address,
     GNUNET_break (0);
     return;
   }
-  len += sizeof (struct GNUNT_TUN_TcpHeader);
+  len += sizeof (struct GNUNET_TUN_TcpHeader);
   len += payload_length;
   if (len >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
   {