diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-16 07:35:43 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-16 07:35:43 +0000 |
commit | 510d1fca23a82e494ff4ea4358bed63bf2336afd (patch) | |
tree | 1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /packet-gre.c | |
parent | 29a3d8f7c035ec7cc502e0107d6951ec2162d4f8 (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-gre.c')
-rw-r--r-- | packet-gre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-gre.c b/packet-gre.c index 1d503ecf06..2af23462a8 100644 --- a/packet-gre.c +++ b/packet-gre.c @@ -2,7 +2,7 @@ * Routines for the Generic Routing Encapsulation (GRE) protocol * Brad Robel-Forrest <brad.robel-forrest@watchguard.com> * - * $Id: packet-gre.c,v 1.25 2000/08/13 14:08:11 deniel Exp $ + * $Id: packet-gre.c,v 1.26 2000/11/16 07:35:37 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -227,7 +227,7 @@ dissect_gre(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { break; default: next_tvb = tvb_create_from_top(offset); - dissect_data(next_tvb, &pi, gre_tree); + dissect_data(next_tvb, 0, &pi, gre_tree); break; } } |