aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_3gpp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-01-04 12:53:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-01-04 12:53:29 +0000
commitbf7150a83479e12f9cd2753542d06b1f9e53d69f (patch)
tree65371ffe39c42a160b029e8dd3915f75e079a83b /epan/dissectors/packet-h248_3gpp.c
parenta6d82ae12e1e12dfe99dcc837a13c5485f273964 (diff)
Get rid of ber_last_created_item().
svn path=/trunk/; revision=24009
Diffstat (limited to 'epan/dissectors/packet-h248_3gpp.c')
-rw-r--r--epan/dissectors/packet-h248_3gpp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h248_3gpp.c b/epan/dissectors/packet-h248_3gpp.c
index 90c69e966b..c508060da4 100644
--- a/epan/dissectors/packet-h248_3gpp.c
+++ b/epan/dissectors/packet-h248_3gpp.c
@@ -295,7 +295,7 @@ static void dissect_3GTFO_codec_mode(proto_tree* tree, tvbuff_t* tvb, packet_inf
dissect_ber_octet_string(FALSE, &asn1_ctx, tree, tvb, 0, hfid, &sub_tvb );
if (sub_tvb) {
- proto_tree* pt = proto_item_add_subtree(get_ber_last_created_item(),ett_h248_3GTFO_codec);
+ proto_tree* pt = proto_item_add_subtree(asn1_ctx.created_item, ett_h248_3GTFO_codec);
dissect_codec_mode(pt, sub_tvb, 0, tvb_length(tvb));
}
} else {
@@ -319,7 +319,7 @@ static void dissect_3GTFO_codec_list(proto_tree* tree, tvbuff_t* tvb, packet_inf
dissect_ber_octet_string(FALSE, &asn1_ctx, tree, tvb, 0, hfid, &sub_tvb );
if (sub_tvb) {
- proto_tree* pt = proto_item_add_subtree(get_ber_last_created_item(),ett_h248_3GTFO_codec_list);
+ proto_tree* pt = proto_item_add_subtree(asn1_ctx.created_item,ett_h248_3GTFO_codec_list);
int len = tvb_length(sub_tvb);
int offset = 0;
do {