diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-20 22:46:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-20 22:46:12 +0000 |
commit | 0d7f3e614fa7f942c85caddb2d4e5806fbd025e3 (patch) | |
tree | 6bef668514f04e680b26f4d8ed4af41eaab8f786 /packet-eth.c | |
parent | 2f10c7f6304036dee28e5e3a0ad9af7db049903d (diff) | |
download | wireshark-0d7f3e614fa7f942c85caddb2d4e5806fbd025e3.tar.gz wireshark-0d7f3e614fa7f942c85caddb2d4e5806fbd025e3.tar.bz2 wireshark-0d7f3e614fa7f942c85caddb2d4e5806fbd025e3.zip |
Get rid of "tvb_compat()"; it's no longer needed (the one remaining call
to it returns data that's no longer used).
svn path=/trunk/; revision=4237
Diffstat (limited to 'packet-eth.c')
-rw-r--r-- | packet-eth.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packet-eth.c b/packet-eth.c index e2102457c5..7ecabd3bec 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.68 2001/11/20 22:29:04 guy Exp $ + * $Id: packet-eth.c,v 1.69 2001/11/20 22:46:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -141,15 +141,11 @@ dissect_eth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_item *ti; const guint8 *dst, *src; - const guint8 *pd; guint16 etype; volatile gboolean is_802_2; - int eth_offset; proto_tree *volatile fh_tree = NULL; - tvb_compat(tvb, &pd, (int*)ð_offset); - if (check_col(pinfo->fd, COL_PROTOCOL)) col_set_str(pinfo->fd, COL_PROTOCOL, "Ethernet"); |