aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eth.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-06-26 09:48:12 +0000
committerGuy Harris <guy@alum.mit.edu>2004-06-26 09:48:12 +0000
commitd88cd5d6dd84ac93f5772e733de0f3e23a0e6c82 (patch)
tree1211bd2ae769213f1ab378bce824d813c0dc621a /packet-eth.c
parenta0414ee1ab8db44275599cd3ec38e2b1b16bd5bd (diff)
Use the "crc16.c" CRC-16 routine in the PPP dissector.
Rename the "crc32.c" CRC-32 routine "crc32_ccitt_tvb()", to match the "crc16.c" CRC-16 routine, and rename the table it uses to match. Also rename "crc32_tvb_802" to "crc32_802_tvb", to match "crc32_ccitt_tvb()". svn path=/trunk/; revision=11245
Diffstat (limited to 'packet-eth.c')
-rw-r--r--packet-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-eth.c b/packet-eth.c
index ecfc644f3c..a5d07880ae 100644
--- a/packet-eth.c
+++ b/packet-eth.c
@@ -1,7 +1,7 @@
/* packet-eth.c
* Routines for ethernet packet disassembly
*
- * $Id: packet-eth.c,v 1.89 2004/02/03 23:19:54 guy Exp $
+ * $Id: packet-eth.c,v 1.90 2004/06/26 09:48:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -365,7 +365,7 @@ add_ethernet_trailer(proto_tree *fh_tree, int trailer_id, tvbuff_t *tvb,
}
if (has_fcs) {
guint32 sent_fcs = tvb_get_ntohl(trailer_tvb, trailer_length);
- guint32 fcs = crc32_tvb_802(tvb, tvb_length(tvb) - 4);
+ guint32 fcs = crc32_802_tvb(tvb, tvb_length(tvb) - 4);
if (fcs == sent_fcs) {
proto_tree_add_text(fh_tree, trailer_tvb, trailer_length, 4,
"Frame check sequence: 0x%08x (correct)",