aboutsummaryrefslogtreecommitdiffstats
path: root/src/mangle_tt_sri_sm.erl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-05-30 13:35:26 +0200
committerHarald Welte <laforge@gnumonks.org>2012-05-30 13:35:26 +0200
commit2900ed79cbda6677a603ad9009f788a5e940ea39 (patch)
tree4fcea3adab602d7199a856e2bd6f0a0cbec12a0d /src/mangle_tt_sri_sm.erl
parent44f44c52930e9729bdd805dc834d3d7471518767 (diff)
make sur to not cause badrecord exception on returnResult with asn1_NOVALUEonw_main_link_201205
Diffstat (limited to 'src/mangle_tt_sri_sm.erl')
-rw-r--r--src/mangle_tt_sri_sm.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mangle_tt_sri_sm.erl b/src/mangle_tt_sri_sm.erl
index a38cc22..33e452c 100644
--- a/src/mangle_tt_sri_sm.erl
+++ b/src/mangle_tt_sri_sm.erl
@@ -137,6 +137,9 @@ get_tcap_operation(#'MapSpecificPDUs_begin_components_SEQOF_basicROS_returnResul
{returnResult, Res#'MapSpecificPDUs_begin_components_SEQOF_basicROS_returnResult_result'.opcode};
get_tcap_operation(#'MapSpecificPDUs_continue_components_SEQOF_basicROS_returnResult'{result=Res}) ->
{returnResult, Res#'MapSpecificPDUs_continue_components_SEQOF_basicROS_returnResult_result'.opcode};
+get_tcap_operation(#'MapSpecificPDUs_end_components_SEQOF_basicROS_returnResult'{result=asn1_NOVALUE}) ->
+ % FIXME: check for asn1_NOVALUE in other cases
+ {returnResult, undefined};
get_tcap_operation(#'MapSpecificPDUs_end_components_SEQOF_basicROS_returnResult'{result=Res}) ->
{returnResult, Res#'MapSpecificPDUs_end_components_SEQOF_basicROS_returnResult_result'.opcode};
get_tcap_operation(#'MapSpecificPDUs_begin_components_SEQOF_returnResultNotLast'{result=Res}) ->