diff options
Diffstat (limited to 'epan/dissectors/packet-hip.c')
-rw-r--r-- | epan/dissectors/packet-hip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hip.c b/epan/dissectors/packet-hip.c index b273f17109..08a015bce3 100644 --- a/epan/dissectors/packet-hip.c +++ b/epan/dissectors/packet-hip.c @@ -553,7 +553,7 @@ dissect_hip_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean /* Begin TLV parsing */ if (offset < length) { ti_tlv = proto_tree_add_text(hip_tree, tvb, offset, - tvb_length(tvb), "HIP Parameters"); + tvb_captured_length(tvb), "HIP Parameters"); hip_tlv_tree = proto_item_add_subtree(ti_tlv, ett_hip_tlv); } /* Parse type and length in TLV */ |