diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-16 07:35:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-16 07:35:43 +0000 |
commit | ee1b884ee9b7baa22ebf1a7e1363994124a0ff24 (patch) | |
tree | 1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /packet-isl.c | |
parent | f19c2e2defe72f740356a3df48a64f6e24918130 (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.
svn path=/trunk/; revision=2651
Diffstat (limited to 'packet-isl.c')
-rw-r--r-- | packet-isl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-isl.c b/packet-isl.c index 9d312ec054..7bae35db44 100644 --- a/packet-isl.c +++ b/packet-isl.c @@ -1,7 +1,7 @@ /* packet-isl.c * Routines for Cisco ISL Ethernet header disassembly * - * $Id: packet-isl.c,v 1.15 2000/08/13 14:08:23 deniel Exp $ + * $Id: packet-isl.c,v 1.16 2000/11/16 07:35:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -234,7 +234,7 @@ dissect_isl(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) default: next_tvb = tvb_create_from_top(offset+26); - dissect_data(next_tvb, &pi, tree); + dissect_data(next_tvb, 0, &pi, tree); break; } } |