summaryrefslogtreecommitdiff
path: root/asn1/tetra/packet-tetra-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/tetra/packet-tetra-template.c')
-rw-r--r--asn1/tetra/packet-tetra-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/tetra/packet-tetra-template.c b/asn1/tetra/packet-tetra-template.c
index 28e0c82994..1429b1a995 100644
--- a/asn1/tetra/packet-tetra-template.c
+++ b/asn1/tetra/packet-tetra-template.c
@@ -227,7 +227,7 @@ void tetra_dissect_pdu(int channel_type, int dir, tvbuff_t *pdu, proto_tree *tre
guint8 p;
tetra_sub_item = proto_tree_add_item(tree, hf_tetra_pdu,
- pdu, 0, tvb_length(pdu), ENC_NA);
+ pdu, 0, tvb_captured_length(pdu), ENC_NA);
tetra_sub_tree = proto_item_add_subtree(tetra_sub_item, ett_tetra);