summaryrefslogtreecommitdiff
path: root/asn1/q932-ros
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/q932-ros
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/q932-ros')
-rw-r--r--asn1/q932-ros/packet-q932-ros-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/q932-ros/packet-q932-ros-template.c b/asn1/q932-ros/packet-q932-ros-template.c
index 7fc8325fe9..e1c289885d 100644
--- a/asn1/q932-ros/packet-q932-ros-template.c
+++ b/asn1/q932-ros/packet-q932-ros-template.c
@@ -61,10 +61,10 @@ static tvbuff_t *arg_next_tvb, *res_next_tvb, *err_next_tvb;
#include "packet-q932-ros-fn.c"
/*--- dissect_q932_ros -----------------------------------------------------*/
-static int dissect_q932_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
+static int dissect_q932_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) {
rose_ctx_tmp = get_rose_ctx(pinfo->private_data);
DISSECTOR_ASSERT(rose_ctx_tmp);
- return dissect_ROS_PDU(tvb, pinfo, tree);
+ return dissect_ROS_PDU(tvb, pinfo, tree, NULL);
}
/*--- proto_register_q932_ros -----------------------------------------------*/