From 64840abd9f877dc56d773fc1c3884dc1f171b249 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 15 May 2003 06:35:02 +0000 Subject: From Laurent Rabret: fix a bug where bad IPv4 and IPv6 prefix lengths could cause a buffer overflow; check the checksum in LSP packets. svn path=/trunk/; revision=7675 --- packet-osi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packet-osi.h') diff --git a/packet-osi.h b/packet-osi.h index 427010b61d..8b389aab9a 100644 --- a/packet-osi.h +++ b/packet-osi.h @@ -1,6 +1,6 @@ /* packet-osi.h * - * $Id: packet-osi.h,v 1.13 2003/04/29 17:56:48 guy Exp $ + * $Id: packet-osi.h,v 1.14 2003/05/15 06:35:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -86,5 +86,6 @@ typedef enum { } cksum_status_t; extern cksum_status_t calc_checksum(tvbuff_t *, int, guint, guint); +extern cksum_status_t check_and_get_checksum( tvbuff_t *, int, guint, guint, int, guint16*); #endif /* _PACKET_OSI_H */ -- cgit v1.2.3