aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hazelcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-hazelcast.c')
-rw-r--r--epan/dissectors/packet-hazelcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hazelcast.c b/epan/dissectors/packet-hazelcast.c
index c5c08f22e4..399457a679 100644
--- a/epan/dissectors/packet-hazelcast.c
+++ b/epan/dissectors/packet-hazelcast.c
@@ -293,7 +293,7 @@ static int dissect_hazelcast_message(tvbuff_t *tvb, packet_info *pinfo _U_, prot
hcast_tree = proto_item_add_subtree(ti, ett_hazelcast);
}
- if (tvb_length_remaining(tvb, 0) < 13) {
+ if (tvb_captured_length_remaining(tvb, 0) < 13) {
col_set_str(pinfo->cinfo, COL_INFO, "Hazelcast too short");
return 0;
}