diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-26 22:05:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-26 22:05:55 +0000 |
commit | 1a47d02b5c946fbed31215a9b754b714cd563174 (patch) | |
tree | 75c743fd20ae06f86765c50bfd64de6358e659fb /src/exit | |
parent | fceea562fea9903d29220ff9e61ca5372a529006 (diff) | |
download | gnunet-1a47d02b5c946fbed31215a9b754b714cd563174.tar.gz gnunet-1a47d02b5c946fbed31215a9b754b714cd563174.zip |
-fix
Diffstat (limited to 'src/exit')
-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 f9fdd82c2..720a0ade4 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -1038,7 +1038,7 @@ message_token (void *cls GNUNET_UNUSED, void *client GNUNET_UNUSED, | |||
1038 | return; | 1038 | return; |
1039 | } | 1039 | } |
1040 | pkt6 = (struct GNUNET_TUN_IPv6Header *) &pkt_tun[1]; | 1040 | pkt6 = (struct GNUNET_TUN_IPv6Header *) &pkt_tun[1]; |
1041 | if (size != ntohs (pkt6->payload_length)) | 1041 | if (size != ntohs (pkt6->payload_length) + sizeof (struct GNUNET_TUN_IPv6Header)) |
1042 | { | 1042 | { |
1043 | /* Kernel to blame? */ | 1043 | /* Kernel to blame? */ |
1044 | GNUNET_break (0); | 1044 | GNUNET_break (0); |