From b3350ed946ee5cdc83fbab017b986df0bc380e9b Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Wed, 9 Apr 2014 17:19:31 -0400 Subject: 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 --- epan/dissectors/packet-kafka.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'epan') 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 */ -- cgit v1.2.3