aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ppp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-26 06:18:18 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-26 06:18:18 +0000
commitb73e8138a8456cdc0e3b40fb6d0ac25a47eb6602 (patch)
tree19dbd5781994835a4360c76337d44eb96bb9d12f /packet-ppp.c
parentcdd8b24d5c8d9e2cd685a2491d14d3fce7c13fc0 (diff)
Make the CRC-32 routines take a tvbuff and a length as arguments.
Rename "crc32()" so as not to collide with the one in zlib; rename "crc32_802()" to match. svn path=/trunk/; revision=8268
Diffstat (limited to 'packet-ppp.c')
-rw-r--r--packet-ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ppp.c b/packet-ppp.c
index 8e643316b3..d77ef8a92b 100644
--- a/packet-ppp.c
+++ b/packet-ppp.c
@@ -2,7 +2,7 @@
* Routines for ppp packet disassembly
* RFC 1661, RFC 1662
*
- * $Id: packet-ppp.c,v 1.115 2003/08/26 05:52:50 guy Exp $
+ * $Id: packet-ppp.c,v 1.116 2003/08/26 06:18:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1404,7 +1404,7 @@ fcs32(tvbuff_t * tvbuff)
/* Check for invalid Length */
if (len == 0)
return (0x00000000);
- return crc32(tvb_get_ptr(tvbuff, 0, len), len);
+ return crc32_tvb(tvbuff, len);
}
tvbuff_t *