diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-12-20 14:28:16 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-12-20 14:28:16 +0000 |
commit | c3de9c631140fdc95f2892cf98464e6e2a99d925 (patch) | |
tree | 4721a22a27052c28a30f8801e980edfb27f7fac4 /epan | |
parent | de2bcb2c8edf69f53b02fa619ae94c54017f830f (diff) |
As pointed out in http://ask.wireshark.org/questions/28304/questions-on-packet-kafkac :
ett_kafka_metadata_topics is defined (and registered) but not used. Use it.
svn path=/trunk/; revision=54294
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-kafka.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-kafka.c b/epan/dissectors/packet-kafka.c index ca998cc93f..9e8373ae59 100644 --- a/epan/dissectors/packet-kafka.c +++ b/epan/dissectors/packet-kafka.c @@ -434,7 +434,7 @@ dissect_kafka_metadata_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr int offset = start_offset; ti = proto_tree_add_text(tree, tvb, offset, -1, "Metadata Request"); - subtree = proto_item_add_subtree(ti, ett_kafka_request_topic); + subtree = proto_item_add_subtree(ti, ett_kafka_metadata_topics); offset = dissect_kafka_array(subtree, tvb, pinfo, offset, &dissect_kafka_metadata_request_topic); @@ -555,7 +555,7 @@ dissect_kafka_metadata_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t start_offset = offset; ti = proto_tree_add_text(tree, tvb, offset, -1, "Topic Metadata"); - subtree = proto_item_add_subtree(ti, ett_kafka_request_topic); + subtree = proto_item_add_subtree(ti, ett_kafka_metadata_topics); offset = dissect_kafka_array(subtree, tvb, pinfo, offset, &dissect_kafka_metadata_topic); proto_item_set_len(ti, offset - start_offset); |