diff options
author | Michael Mann <mmann78@netscape.net> | 2013-11-02 15:52:25 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-11-02 15:52:25 +0000 |
commit | 02a83915359f7fadf149df0fe0dea8e971bb32f4 (patch) | |
tree | 33b0da2fee3eed9a07417a0aa7e4c2356638cd33 /epan/dissectors/packet-eigrp.c | |
parent | 925cba4e91ea0f44970462d30b62533c8a100e24 (diff) |
Require dissector_try_string to pass a data parameter to its subdissectors. There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new.
svn path=/trunk/; revision=53049
Diffstat (limited to 'epan/dissectors/packet-eigrp.c')
-rw-r--r-- | epan/dissectors/packet-eigrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eigrp.c b/epan/dissectors/packet-eigrp.c index 965df4bbe8..3958d25bb5 100644 --- a/epan/dissectors/packet-eigrp.c +++ b/epan/dissectors/packet-eigrp.c @@ -1333,11 +1333,11 @@ dissect_eigrp_service (proto_item *ti, proto_tree *tree, tvbuff_t *tvb, if (tok && tok[0] == '<') { /* Looks like XML */ dissector_try_string(media_type_table, "application/xml", - xml_tvb, pinfo, sub_tree); + xml_tvb, pinfo, sub_tree, NULL); } else { /* Try plain text */ dissector_try_string(media_type_table, "text/plain", - xml_tvb, pinfo, sub_tree); + xml_tvb, pinfo, sub_tree, NULL); } } sub_offset += length; |