aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h501
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-10 21:40:21 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-10 21:40:21 +0000
commit5a8783f5b12e017967ce178bac3d1826630dea1a (patch)
tree72bd010e8f647ea2c4fbd0b8ace91952758f595e /asn1/h501
parentf764eabb6725bf82f4f45ae12faa1f54860cf090 (diff)
Initial commit to support yet another method of passing data between dissectors.
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
Diffstat (limited to 'asn1/h501')
-rw-r--r--asn1/h501/packet-h501-template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/h501/packet-h501-template.c b/asn1/h501/packet-h501-template.c
index c39dee0757..e606ae3fc3 100644
--- a/asn1/h501/packet-h501-template.c
+++ b/asn1/h501/packet-h501-template.c
@@ -63,7 +63,7 @@ void proto_reg_handoff_h501(void);
#include "packet-h501-fn.c"
static int
-dissect_h501_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+dissect_h501_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
proto_item *ti = NULL;
proto_tree *h501_tree = NULL;
@@ -73,18 +73,18 @@ dissect_h501_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_item(tree, proto_h501, tvb, 0, -1, ENC_NA);
h501_tree = proto_item_add_subtree(ti, ett_h501);
- return dissect_Message_PDU(tvb, pinfo, h501_tree);
+ return dissect_Message_PDU(tvb, pinfo, h501_tree, NULL);
}
static int
-dissect_h501_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+dissect_h501_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
dissect_tpkt_encap(tvb, pinfo, tree, FALSE, h501_pdu_handle);
return tvb_length(tvb);
}
static int
-dissect_h501_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+dissect_h501_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
dissect_tpkt_encap(tvb, pinfo, tree, h501_desegment_tcp, h501_pdu_handle);
return tvb_length(tvb);