diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-30 03:15:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-30 03:15:26 +0000 |
commit | 2a6b337ad84603441153ab82af1408ca44802fe7 (patch) | |
tree | 53bf5fb140b73f213f430bd24ff45a1dc4455d57 /packet-brdwlk.c | |
parent | 95c1f2f7c90178202fb4d79e15cd0be113e97e8e (diff) | |
download | wireshark-2a6b337ad84603441153ab82af1408ca44802fe7.tar.gz wireshark-2a6b337ad84603441153ab82af1408ca44802fe7.tar.bz2 wireshark-2a6b337ad84603441153ab82af1408ca44802fe7.zip |
#if 0 out the stuff to set the reported length, as it'd throw an
exception if it would increase the reported length.
svn path=/trunk/; revision=8825
Diffstat (limited to 'packet-brdwlk.c')
-rw-r--r-- | packet-brdwlk.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packet-brdwlk.c b/packet-brdwlk.c index a915736527..9c96af6558 100644 --- a/packet-brdwlk.c +++ b/packet-brdwlk.c @@ -2,7 +2,7 @@ * Routines for decoding MDS Port Analyzer Adapter (FC in Eth) Header * Copyright 2001, Dinesh G Dutt <ddutt@andiamo.com> * - * $Id: packet-brdwlk.c,v 1.5 2003/10/30 02:06:11 guy Exp $ + * $Id: packet-brdwlk.c,v 1.6 2003/10/30 03:15:26 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -311,9 +311,14 @@ dissect_brdwlk (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree_add_uint (brdwlk_tree, hf_brdwlk_plen, tvb, offset-4, 4, plen); +#if 0 + /* XXX - this would throw an exception if it would increase + * the reported length. + */ if (error & BRDWLK_TRUNCATED_BIT) { tvb_set_reported_length (tvb, plen); } +#endif } } |