diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-01-04 13:39:24 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-01-04 13:39:24 +0000 |
commit | 73fee653de767e0f8ae9637b54ac8d56c7fbb720 (patch) | |
tree | f6e6b8deef523ba25debb540e37bfdac5d52285d /asn1/h248 | |
parent | bf7150a83479e12f9cd2753542d06b1f9e53d69f (diff) |
Get rid of ber_last_created_item(). (Final?)
svn path=/trunk/; revision=24010
Diffstat (limited to 'asn1/h248')
-rw-r--r-- | asn1/h248/h248.cnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf index 674b82c4b5..67d0fd9d97 100644 --- a/asn1/h248/h248.cnf +++ b/asn1/h248/h248.cnf @@ -239,7 +239,7 @@ ContextRequest/iepscallind iepscallind_BOOL #.FN_BODY ErrorDescriptor/errorCode offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_h248_error_code, &error_code); - expert_add_info_format(actx->pinfo, get_ber_last_created_item(), PI_RESPONSE_CODE, PI_WARN, "Errored Command"); + expert_add_info_format(actx->pinfo, actx->created_item, PI_RESPONSE_CODE, PI_WARN, "Errored Command"); if (curr_info.cmd) { gcp_cmd_set_error(curr_info.cmd,error_code); @@ -258,7 +258,7 @@ ContextRequest/iepscallind iepscallind_BOOL #.FN_BODY WildcardField tvbuff_t* new_tvb; offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &new_tvb); - tree = proto_item_add_subtree(get_ber_last_created_item(),ett_wildcard); + tree = proto_item_add_subtree(actx->created_item,ett_wildcard); proto_tree_add_item(tree,hf_h248_term_wild_type,new_tvb,0,1,FALSE); proto_tree_add_item(tree,hf_h248_term_wild_level,new_tvb,0,1,FALSE); proto_tree_add_item(tree,hf_h248_term_wild_position,new_tvb,0,1,FALSE); |