diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-09-11 08:26:48 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-09-11 08:26:48 +0000 |
commit | dee4443809a9cf723b68548391b1a140d6a986e5 (patch) | |
tree | cea054a08f5d144fa4d35a42b0dc3394343048f6 /epan/dissectors/packet-infiniband.c | |
parent | 7e9411fee3a101b53693210f7a38789fd4c70ba2 (diff) |
Add data parameter to dissector_try_heuristic
svn path=/trunk/; revision=44871
Diffstat (limited to 'epan/dissectors/packet-infiniband.c')
-rw-r--r-- | epan/dissectors/packet-infiniband.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-infiniband.c b/epan/dissectors/packet-infiniband.c index 956a1aafe3..61a8c7f77f 100644 --- a/epan/dissectors/packet-infiniband.c +++ b/epan/dissectors/packet-infiniband.c @@ -2598,7 +2598,7 @@ static void parse_PAYLOAD(proto_tree *parentTree, packet_info *pinfo, tvbuff_t * /* Try any heuristic dissectors that requested a chance to try and dissect IB payloads */ if (!dissector_found) { - dissector_found = dissector_try_heuristic(heur_dissectors_payload, next_tvb, pinfo, parentTree); + dissector_found = dissector_try_heuristic(heur_dissectors_payload, next_tvb, pinfo, parentTree, NULL); } if (!dissector_found) { @@ -3114,7 +3114,7 @@ static void parse_COM_MGT(proto_tree *parentTree, packet_info *pinfo, tvbuff_t * /* give a chance for subdissectors to analyze the private data */ next_tvb = tvb_new_subset(tvb, local_offset, 92, -1); - if (! dissector_try_heuristic(heur_dissectors_cm_private, next_tvb, pinfo, parentTree) ) + if (! dissector_try_heuristic(heur_dissectors_cm_private, next_tvb, pinfo, parentTree, NULL) ) /* if none reported success, add this as raw "data" */ proto_tree_add_item(CM_header_tree, hf_cm_req_private_data, tvb, local_offset, 92, ENC_NA); @@ -3203,7 +3203,7 @@ static void parse_COM_MGT(proto_tree *parentTree, packet_info *pinfo, tvbuff_t * /* give a chance for subdissectors to get the private data */ next_tvb = tvb_new_subset(tvb, local_offset, 196, -1); - if (! dissector_try_heuristic(heur_dissectors_cm_private, next_tvb, pinfo, parentTree) ) + if (! dissector_try_heuristic(heur_dissectors_cm_private, next_tvb, pinfo, parentTree, NULL) ) /* if none reported success, add this as raw "data" */ proto_tree_add_item(CM_header_tree, hf_cm_rep_privatedata, tvb, local_offset, 196, ENC_NA); |