summaryrefslogtreecommitdiff
path: root/asn1/h282/packet-h282-template.c
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/h282/packet-h282-template.c
parentf764eabb6725bf82f4f45ae12faa1f54860cf090 (diff)
downloadwireshark-5a8783f5b12e017967ce178bac3d1826630dea1a.tar.gz
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/h282/packet-h282-template.c')
-rw-r--r--asn1/h282/packet-h282-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h282/packet-h282-template.c b/asn1/h282/packet-h282-template.c
index 0e509b3b5f..c97ab9699a 100644
--- a/asn1/h282/packet-h282-template.c
+++ b/asn1/h282/packet-h282-template.c
@@ -53,7 +53,7 @@ static int ett_h282 = -1;
#include "packet-h282-fn.c"
static int
-dissect_h282(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+dissect_h282(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
proto_item *ti = NULL;
proto_tree *h282_tree = NULL;
@@ -63,7 +63,7 @@ dissect_h282(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_item(tree, proto_h282, tvb, 0, -1, ENC_NA);
h282_tree = proto_item_add_subtree(ti, ett_h282);
- return dissect_RDCPDU_PDU(tvb, pinfo, h282_tree);
+ return dissect_RDCPDU_PDU(tvb, pinfo, h282_tree, NULL);
}
/*--- proto_register_h282 ----------------------------------------------*/