diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-14 23:22:22 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-14 23:22:22 +0000 |
commit | 2db2ecd5ef1e39dfdb76151d30cd544814f298cc (patch) | |
tree | 64d0561f883974b6cc1a30309a5f9444292a89d9 /packet-rx.c | |
parent | 3f50884f2d0d09ed8d5cbe8086066b7b95f8db91 (diff) |
From Joerg Mayer: get rid of some unused variables and arguments.
Use "tvb_get_ntohs()" to fetch the checksum from a VJ compressed packet,
rather than doing the ntoh by hand.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5163 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rx.c')
-rw-r--r-- | packet-rx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-rx.c b/packet-rx.c index 5f2248cef9..fcd0377d49 100644 --- a/packet-rx.c +++ b/packet-rx.c @@ -4,7 +4,7 @@ * Based on routines from tcpdump patches by * Ken Hornstein <kenh@cmf.nrl.navy.mil> * - * $Id: packet-rx.c,v 1.34 2002/02/05 21:02:36 nneul Exp $ + * $Id: packet-rx.c,v 1.35 2002/04/14 23:22:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -148,7 +148,7 @@ static gint ett_rx_abort = -1; static dissector_handle_t afs_handle; static int -dissect_rx_response_encrypted(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int offset) +dissect_rx_response_encrypted(tvbuff_t *tvb, proto_tree *parent_tree, int offset) { proto_tree *tree; proto_item *item; @@ -237,7 +237,7 @@ dissect_rx_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, offset += 4; /* encrypted : struct */ - offset = dissect_rx_response_encrypted(tvb, pinfo, tree, offset); + offset = dissect_rx_response_encrypted(tvb, tree, offset); /* kvno */ proto_tree_add_item(tree, hf_rx_kvno, tvb, offset, 4, FALSE); |