aboutsummaryrefslogtreecommitdiffstats
path: root/packet-brdwlk.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-30 03:15:26 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-30 03:15:26 +0000
commit9dabd75082919f93f25bbd28482e8a84202d7823 (patch)
tree53bf5fb140b73f213f430bd24ff45a1dc4455d57 /packet-brdwlk.c
parentb5dc6e61b1842a8583557a1633356130dcb7cb0b (diff)
#if 0 out the stuff to set the reported length, as it'd throw an
exception if it would increase the reported length. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8825 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-brdwlk.c')
-rw-r--r--packet-brdwlk.c7
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
}
}