aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mih.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-mih.c')
-rw-r--r--epan/dissectors/packet-mih.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mih.c b/epan/dissectors/packet-mih.c
index 4c4d408318..2cabd662dc 100644
--- a/epan/dissectors/packet-mih.c
+++ b/epan/dissectors/packet-mih.c
@@ -1630,7 +1630,7 @@ static void dissect_mih_tlv(tvbuff_t *tvb,int offset, proto_tree *tlv_tree, guin
tvb_mihf_id = tvb_new_composite();
for(i=0; i < mihf_id_len/2; i++)
{
- tvb_temp = tvb_new_subset(tvb, offset + 2 + 2*i, 1 , 1);
+ tvb_temp = tvb_new_subset_length(tvb, offset + 2 + 2*i, 1);
tvb_composite_append(tvb_mihf_id, tvb_temp);
}
TRY