diff options
Diffstat (limited to 'asn1/t125/packet-t125-template.c')
-rw-r--r-- | asn1/t125/packet-t125-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/t125/packet-t125-template.c b/asn1/t125/packet-t125-template.c index 0d959c8685..f89555b224 100644 --- a/asn1/t125/packet-t125-template.c +++ b/asn1/t125/packet-t125-template.c @@ -109,7 +109,7 @@ dissect_t125_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, vo TRY { /* could be BER */ get_ber_identifier(tvb, 0, &ber_class, &pc, &tag); - } CATCH2(BoundsError, ReportedBoundsError) { + } CATCH_BOUNDS_ERRORS { failed = TRUE; } ENDTRY; @@ -126,7 +126,7 @@ dissect_t125_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, vo dissect_per_constrained_integer(tvb, 0, &asn1_ctx, NULL, hf_t125_heur, 0, 42, &choice_index, FALSE); - } CATCH2(BoundsError, ReportedBoundsError) { + } CATCH_BOUNDS_ERRORS { failed = TRUE; } ENDTRY; |