summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
Diffstat (limited to 'asn1')
-rw-r--r--asn1/tcap/tcap.cnf7
1 files changed, 6 insertions, 1 deletions
diff --git a/asn1/tcap/tcap.cnf b/asn1/tcap/tcap.cnf
index f196465936..e041ba9aae 100644
--- a/asn1/tcap/tcap.cnf
+++ b/asn1/tcap/tcap.cnf
@@ -84,6 +84,7 @@ ABRT-apdu/_untag/user-information abrt_user_information
gboolean pc;
gint tag;
guint32 len, comp_offset;
+ volatile guint32 _offset;
gint ind_field;
comp_offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &ber_class, &pc, &tag);
@@ -94,13 +95,17 @@ ABRT-apdu/_untag/user-information abrt_user_information
if (!next_tvb)
return comp_offset;
+ _offset = offset;
TRY {
- %(DEFAULT_BODY)s
+ _offset = dissect_ber_choice(actx, tree, tvb, _offset,
+ Component_choice, hf_index, ett_tcap_Component,
+ NULL);
}
CATCH_NONFATAL_ERRORS {
show_exception(tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE);
}
ENDTRY;
+ offset = _offset;
dissect_tcap_ITU_ComponentPDU(implicit_tag, next_tvb, 0, actx, tcap_top_tree, hf_index);