#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
This commit is contained in:
parent
95c1f2f7c9
commit
2a6b337ad8
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue