diff options
author | Evan Huus <eapache@gmail.com> | 2014-04-09 17:19:31 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-04-09 22:42:14 +0000 |
commit | b3350ed946ee5cdc83fbab017b986df0bc380e9b (patch) | |
tree | d19c1f7703699e11d3e9ff7ca1b86c9de4ad8ef2 | |
parent | 800cd7b95e6f71f7d81259bba8cdbcfcb679e3f9 (diff) |
Update kafka OffsetFetchResponse dissection
Per https://github.com/Shopify/sarama/pull/77 the spec is out of date, there is
no longer a clientID field in certain messages.
Change-Id: Ieeb7b8f1dd32b326b3d9507e3d5897574a1b09fd
Reviewed-on: https://code.wireshark.org/review/1043
Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r-- | epan/dissectors/packet-kafka.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-kafka.c b/epan/dissectors/packet-kafka.c index b4920d2e1f..2d20d6775d 100644 --- a/epan/dissectors/packet-kafka.c +++ b/epan/dissectors/packet-kafka.c @@ -414,11 +414,7 @@ dissect_kafka_offset_fetch_response_topic(tvbuff_t *tvb, packet_info *pinfo, pro static int dissect_kafka_offset_fetch_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset) { - offset = dissect_kafka_string(tree, hf_kafka_client_id, tvb, pinfo, offset); - - offset = dissect_kafka_array(tree, tvb, pinfo, offset, &dissect_kafka_offset_fetch_response_topic); - - return offset; + return dissect_kafka_array(tree, tvb, pinfo, offset, &dissect_kafka_offset_fetch_response_topic); } /* METADATA REQUEST */ |