From b6484432aaa2eb6787cc54cc4a7b489ae70e57aa Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 1 Nov 2013 23:45:10 +0000 Subject: Allow try_conversation_dissector() to pass data to subdissectors. svn path=/trunk/; revision=53035 --- epan/conversation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/conversation.c') diff --git a/epan/conversation.c b/epan/conversation.c index 4a70470db2..848775b1a3 100644 --- a/epan/conversation.c +++ b/epan/conversation.c @@ -1254,7 +1254,7 @@ conversation_set_dissector(conversation_t *conversation, const dissector_handle_ gboolean try_conversation_dissector(const address *addr_a, const address *addr_b, const port_type ptype, const guint32 port_a, const guint32 port_b, tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree) + proto_tree *tree, void* data) { conversation_t *conversation; @@ -1266,7 +1266,7 @@ try_conversation_dissector(const address *addr_a, const address *addr_b, const p if (conversation->dissector_handle == NULL) return FALSE; ret=call_dissector_only(conversation->dissector_handle, tvb, pinfo, - tree, NULL); + tree, data); if(!ret) { /* this packet was rejected by the dissector * so return FALSE in case our caller wants -- cgit v1.2.3