diff options
Diffstat (limited to 'epan/dissectors/packet-a21.c')
-rw-r--r-- | epan/dissectors/packet-a21.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-a21.c b/epan/dissectors/packet-a21.c index 31acf42a96..a5ebe028bb 100644 --- a/epan/dissectors/packet-a21.c +++ b/epan/dissectors/packet-a21.c @@ -367,7 +367,7 @@ dissect_a21_gcsna_pdu(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, p /* only dissect it to octetstring */ proto_tree_add_item(tree, hf_a21_gcsna_content, tvb, offset, length, ENC_NA); if(gcsna_handle){ - new_tvb = tvb_new_subset(tvb, offset, length, length); + new_tvb = tvb_new_subset_length(tvb, offset, length); /* call the dissector with the parent (top)tree */ call_dissector(gcsna_handle, new_tvb, pinfo, a21_tree->parent); } |