diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-20 16:29:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-20 16:29:59 +0000 |
commit | c48cde334c6d0a0b36b1db4834d22982e605041a (patch) | |
tree | 3f8cc57178e6a1b1584c390eebadba3a87a5ab53 /src/exit/gnunet-daemon-exit.c | |
parent | c7e7f06329b4b8d0a4e0c5684606b0a41b3e23f2 (diff) | |
download | gnunet-c48cde334c6d0a0b36b1db4834d22982e605041a.tar.gz gnunet-c48cde334c6d0a0b36b1db4834d22982e605041a.zip |
-fix off-by-tcp-header size
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 4ae61e136..316133a75 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -1249,7 +1249,7 @@ send_tcp_packet_via_tun (const struct SocketAddress *destination_address, | |||
1249 | GNUNET_break (0); | 1249 | GNUNET_break (0); |
1250 | return; | 1250 | return; |
1251 | } | 1251 | } |
1252 | len += sizeof (struct GNUNT_TUN_TcpHeader); | 1252 | len += sizeof (struct GNUNET_TUN_TcpHeader); |
1253 | len += payload_length; | 1253 | len += payload_length; |
1254 | if (len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1254 | if (len >= GNUNET_SERVER_MAX_MESSAGE_SIZE) |
1255 | { | 1255 | { |