diff options
Diffstat (limited to 'plugins/irda/packet-ircomm.c')
-rw-r--r-- | plugins/irda/packet-ircomm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/irda/packet-ircomm.c b/plugins/irda/packet-ircomm.c index 0b6f827e87..b89e9b2cab 100644 --- a/plugins/irda/packet-ircomm.c +++ b/plugins/irda/packet-ircomm.c @@ -199,7 +199,7 @@ static void dissect_cooked_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree* proto_tree_add_item(ctrl_tree, hf_control_len, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; { - tvbuff_t *cvalue = tvb_new_subset(tvb, offset, clen, clen); + tvbuff_t *cvalue = tvb_new_subset_length(tvb, offset, clen); call_dissector(data_handle, cvalue, pinfo, ctrl_tree); offset += clen; } |