aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_annex_c.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-03-28 19:30:24 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-03-28 19:30:24 +0000
commit339f98972470d2b9e4f917324971c103fa46d94f (patch)
tree2081480cde3ad700e55cde11035e5df1dbc4715a /epan/dissectors/packet-h248_annex_c.c
parente3f4f4ecb0a223ea7bd0ee0cbdfeb4414f6f66d5 (diff)
USM can be any length not just 3
svn path=/trunk/; revision=21250
Diffstat (limited to 'epan/dissectors/packet-h248_annex_c.c')
-rw-r--r--epan/dissectors/packet-h248_annex_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-h248_annex_c.c b/epan/dissectors/packet-h248_annex_c.c
index 3e85d08ec9..c9677f4d6b 100644
--- a/epan/dissectors/packet-h248_annex_c.c
+++ b/epan/dissectors/packet-h248_annex_c.c
@@ -787,7 +787,7 @@ static void dissect_h248_annexc_USI(proto_tree* tree, tvbuff_t* tvb, packet_info
tvbuff_t* new_tvb = NULL;
dissect_ber_octet_string(implicit_p ? *((gboolean*)implicit_p) : FALSE, pinfo, tree, tvb, 0, hfid, &new_tvb);
if (new_tvb)
- dissect_q931_bearer_capability_ie(new_tvb, 0, 3, tree);
+ dissect_q931_bearer_capability_ie(new_tvb, 0, tvb_length(new_tvb), tree);
}
gboolean h248_c_implicit = TRUE;