aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ieee80211.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-26 06:18:18 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-26 06:18:18 +0000
commit2fe2067f41662ace2b54766986fee12a21ab809d (patch)
tree19dbd5781994835a4360c76337d44eb96bb9d12f /packet-ieee80211.c
parent047f5878ed4e1dbf535b540a39a5c087cf9cf28b (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8268 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ieee80211.c')
-rw-r--r--packet-ieee80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ieee80211.c b/packet-ieee80211.c
index 97dfb7bd1e..d44b232c77 100644
--- a/packet-ieee80211.c
+++ b/packet-ieee80211.c
@@ -3,7 +3,7 @@
* Copyright 2000, Axis Communications AB
* Inquiries/bugreports should be sent to Johan.Jorgensen@axis.com
*
- * $Id: packet-ieee80211.c,v 1.94 2003/08/26 05:52:48 guy Exp $
+ * $Id: packet-ieee80211.c,v 1.95 2003/08/26 06:18:17 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1686,7 +1686,7 @@ dissect_ieee80211_common (tvbuff_t * tvb, packet_info * pinfo,
reported_len -= 4;
if (tree)
{
- guint32 fcs = crc32_802(tvb_get_ptr(tvb, 0, hdr_len + len), hdr_len + len);
+ guint32 fcs = crc32_tvb_802(tvb, hdr_len + len);
guint32 sent_fcs = tvb_get_ntohl(tvb, hdr_len + len);
if (fcs == sent_fcs)
proto_tree_add_uint_format(hdr_tree, hf_fcs, tvb,