aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-elasticsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-elasticsearch.c')
-rw-r--r--epan/dissectors/packet-elasticsearch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-elasticsearch.c b/epan/dissectors/packet-elasticsearch.c
index 4722f10f40..89c0cf2852 100644
--- a/epan/dissectors/packet-elasticsearch.c
+++ b/epan/dissectors/packet-elasticsearch.c
@@ -471,7 +471,8 @@ static int elasticsearch_dissect_valid_binary_packet(tvbuff_t *tvb, packet_info
return tvb_captured_length(tvb);
}
-static guint elasticsearch_get_binary_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
+static guint elasticsearch_get_binary_message_len(packet_info *pinfo _U_, tvbuff_t *tvb,
+ int offset, void *data _U_)
{
/* length is two bytes into the packet, also the length doesn't include the starting 6 bytes */
return (guint)tvb_get_ntohl(tvb, offset+ELASTICSEARCH_MESSAGE_LENGTH_OFFSET) + ELASTICSEARCH_HEADER_LENGTH;