diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-01-26 22:05:55 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-01-26 22:05:55 +0000 |
commit | 1b0bad466d0b28a5c3bfb35208f6b6bebf777f11 (patch) | |
tree | 75c743fd20ae06f86765c50bfd64de6358e659fb /src/exit | |
parent | 30c457648e53efa6b7711c2ec950bbdffcd021b5 (diff) |
-fix
git-svn-id: https://gnunet.org/svn/gnunet@19457 140774ce-b5e7-0310-ab8b-a85725594a96
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 f9fdd82c2b..720a0ade4d 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, return; } pkt6 = (struct GNUNET_TUN_IPv6Header *) &pkt_tun[1]; - if (size != ntohs (pkt6->payload_length)) + if (size != ntohs (pkt6->payload_length) + sizeof (struct GNUNET_TUN_IPv6Header)) { /* Kernel to blame? */ GNUNET_break (0); |