aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pop.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-pop.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-pop.c')
-rw-r--r--packet-pop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-pop.c b/packet-pop.c
index c41ccfcd1a..7ef52d47aa 100644
--- a/packet-pop.c
+++ b/packet-pop.c
@@ -2,7 +2,7 @@
* Routines for pop packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-pop.c,v 1.19 2000/11/13 08:58:07 guy Exp $
+ * $Id: packet-pop.c,v 1.20 2000/11/16 07:35:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -113,7 +113,7 @@ dissect_pop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/*
* Put the whole packet into the tree as data.
*/
- dissect_data(tvb, pinfo, pop_tree);
+ dissect_data(tvb, 0, pinfo, pop_tree);
return;
}