[MERGED] osmo-ttcn3-hacks[master]: SCCP: Fix connection refusal table according to A.1/Q.713

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Mar 17 21:27:04 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: SCCP: Fix connection refusal table according to A.1/Q.713
......................................................................


SCCP: Fix connection refusal table according to A.1/Q.713

There's one value (00010001) which is not listed in the table,
and hence the exisging code contains an off-by-one error due to
the missing line.

Change-Id: Ib2072a5fa3dabd66e0af53b77672f3a67d1e21f0
---
M SCCP_CNL113341/src/SCCP_Emulation.ttcn
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/SCCP_CNL113341/src/SCCP_Emulation.ttcn b/SCCP_CNL113341/src/SCCP_Emulation.ttcn
index af423a5..dbfa08c 100644
--- a/SCCP_CNL113341/src/SCCP_Emulation.ttcn
+++ b/SCCP_CNL113341/src/SCCP_Emulation.ttcn
@@ -226,7 +226,7 @@
 //Mapping Refusal  Cause to Reason and Originator A.1/Q.713
 //------------------------------------------------------------------------------
 
-const integer cg_Mapping_RefCause_Orig[19]:=
+const integer cg_Mapping_RefCause_Orig[20]:=
 {
   cg_NSU,
   cg_NSU,
@@ -245,12 +245,13 @@
   cg_NSP,
   cg_Undefined,
   cg_NSP,
+  cg_Undefined,
   cg_NSP,
   cg_NSP
 };
 
 
-const integer cg_Mapping_RefCause_Reason[19]:=
+const integer cg_Mapping_RefCause_Reason[20]:=
 {
   cg_CREF_endUserOrig,
   cg_CREF_endUserCong,
@@ -269,6 +270,7 @@
   cg_CREF_unspec_T,
   cg_CREF_undef,
   cg_CREF_hopCntrViolation,
+  cg_CREF_undef,
   cg_CREF_destAddrUnknwn_NT,
   cg_CREF_destInaccg_NT
 };

-- 
To view, visit https://gerrit.osmocom.org/7361
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2072a5fa3dabd66e0af53b77672f3a67d1e21f0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list