diff options
Diffstat (limited to 'epan/dissectors/packet-h221_nonstd.c')
-rw-r--r-- | epan/dissectors/packet-h221_nonstd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h221_nonstd.c b/epan/dissectors/packet-h221_nonstd.c index cd275d6b6a..3ac0ab30b6 100644 --- a/epan/dissectors/packet-h221_nonstd.c +++ b/epan/dissectors/packet-h221_nonstd.c @@ -58,11 +58,11 @@ dissect_ms_nonstd(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) gint tvb_len; guint16 codec_value, codec_extra; - it=proto_tree_add_protocol_format(tree, proto_nonstd, tvb, 0, tvb_captured_length(tvb), "Microsoft NonStd"); + it=proto_tree_add_protocol_format(tree, proto_nonstd, tvb, 0, tvb_length(tvb), "Microsoft NonStd"); tr=proto_item_add_subtree(it, ett_nonstd); - tvb_len = tvb_captured_length(tvb); + tvb_len = tvb_length(tvb); /* * XXX - why do this test? Are there any cases where throwing |