diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-03-28 19:30:24 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-03-28 19:30:24 +0000 |
commit | 339f98972470d2b9e4f917324971c103fa46d94f (patch) | |
tree | 2081480cde3ad700e55cde11035e5df1dbc4715a /epan | |
parent | e3f4f4ecb0a223ea7bd0ee0cbdfeb4414f6f66d5 (diff) |
USM can be any length not just 3
svn path=/trunk/; revision=21250
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-h248_annex_c.c | 2 |
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; |