aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-05-15 06:35:02 +0000
committerGuy Harris <guy@alum.mit.edu>2003-05-15 06:35:02 +0000
commit64840abd9f877dc56d773fc1c3884dc1f171b249 (patch)
tree62e8683a46c2576f1d0a76fefa928be4923ff125 /packet-osi.h
parentd4c805ad331e255f3ca267e3ff8b5913854c7de2 (diff)
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
Diffstat (limited to 'packet-osi.h')
-rw-r--r--packet-osi.h3
1 files changed, 2 insertions, 1 deletions
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 <gerald@ethereal.com>
@@ -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 */