aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tr.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-16 07:35:43 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-16 07:35:43 +0000
commit510d1fca23a82e494ff4ea4358bed63bf2336afd (patch)
tree1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /packet-tr.c
parent29a3d8f7c035ec7cc502e0107d6951ec2162d4f8 (diff)
Tvbuffify the STP dissector, have it register itself and have the LLC
dissector call it through a handle, and make it static. Give "dissect_data()" an "offset" argument, so dissectors can use it to dissect part of the packet without having to cook up a new tvbuff. Go back to using "dissect_data()" to dissect the data in an IPP request. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2651 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tr.c')
-rw-r--r--packet-tr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tr.c b/packet-tr.c
index f6451bd1a7..f6bed0f1d0 100644
--- a/packet-tr.c
+++ b/packet-tr.c
@@ -2,7 +2,7 @@
* Routines for Token-Ring packet disassembly
* Gilbert Ramirez <gram@xiexie.org>
*
- * $Id: packet-tr.c,v 1.48 2000/11/13 05:11:16 guy Exp $
+ * $Id: packet-tr.c,v 1.49 2000/11/16 07:35:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -528,7 +528,7 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
break;
default:
/* non-MAC, non-LLC, i.e., "Reserved" */
- dissect_data(next_tvb, pinfo, tree);
+ dissect_data(next_tvb, 0, pinfo, tree);
break;
}
}