aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-stanag4607.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-stanag4607.c')
-rw-r--r--epan/dissectors/packet-stanag4607.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-stanag4607.c b/epan/dissectors/packet-stanag4607.c
index 38268db036..18f9316214 100644
--- a/epan/dissectors/packet-stanag4607.c
+++ b/epan/dissectors/packet-stanag4607.c
@@ -835,7 +835,7 @@ dissect_stanag4607(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
guint8 seg_id = 0;
/* Basic length check */
- if (tvb_length(tvb) < STANAG4607_MIN_LENGTH)
+ if (tvb_captured_length(tvb) < STANAG4607_MIN_LENGTH)
return;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "S4607");