-off by alen
authorChristian Grothoff <christian@grothoff.org>
Fri, 20 Jan 2012 16:19:43 +0000 (16:19 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 20 Jan 2012 16:19:43 +0000 (16:19 +0000)
src/vpn/gnunet-service-vpn.c

index 95b8dd24b196ce402a3f8ecdf1977addc4cec066..fe431b994f9e05f845aba15233adf1652a8e1474 100644 (file)
@@ -1185,7 +1185,7 @@ route_packet (struct DestinationEntry *destination,
       struct GNUNET_EXIT_TcpDataMessage *tdm;
 
       mlen = sizeof (struct GNUNET_EXIT_TcpDataMessage) + 
-       alen + payload_length - sizeof (struct GNUNET_TUN_TcpHeader);
+       payload_length - sizeof (struct GNUNET_TUN_TcpHeader);
       if (mlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
       {
        GNUNET_break (0);