Attention is currently required from: laforge, pespin.
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/40295?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed:
Code-Review+1 by laforge, Verified+1 by Jenkins Builder
Change subject: Introduce tests/osmo-config-merge testsuite
......................................................................
Introduce tests/osmo-config-merge testsuite
This allows catching current bugs and possible regressions when fixing
them.
For instance, testB2.ok already shows a bug where lots of lines expected
to be merged under the "cs7 instance 0" end up put in an un expected place.
This happens due to comments being used by osmo-config-merge during tree
creation, and will be fixed in a follow-up commit.
Change-Id: Ia172d4c280f4bae1b411ad805cca02355ca7fcc9
---
M .gitignore
M configure.ac
M tests/Makefile.am
A tests/osmo-config-merge/Makefile.am
A tests/osmo-config-merge/atlocal.in
A tests/osmo-config-merge/testA.cfg
A tests/osmo-config-merge/testA.confmerge
A tests/osmo-config-merge/testA.ok
A tests/osmo-config-merge/testB.cfg
A tests/osmo-config-merge/testB.confmerge
A tests/osmo-config-merge/testB.ok
A tests/osmo-config-merge/testB2.cfg
A tests/osmo-config-merge/testB2.confmerge
A tests/osmo-config-merge/testB2.ok
A tests/osmo-config-merge/testsuite.at
15 files changed, 1,100 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/95/40295/4
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/40295?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia172d4c280f4bae1b411ad805cca02355ca7fcc9
Gerrit-Change-Number: 40295
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40292?usp=email )
Change subject: sccp: SCOC -> SCRC: Use DPC provided from conn info in msg_type != CR [3/3]
......................................................................
sccp: SCOC -> SCRC: Use DPC provided from conn info in msg_type != CR [3/3]
See Q.714 section 2.2 for more info on how the "addressing information"
is obtained depending on the msg.
Change-Id: I602c5be73d7fe6ef2af1cbfe6888227a9f602562
---
M src/sccp_scrc.c
1 file changed, 10 insertions(+), 1 deletion(-)
Approvals:
daniel: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c
index 706e01c..ebc9a11 100644
--- a/src/sccp_scrc.c
+++ b/src/sccp_scrc.c
@@ -252,7 +252,16 @@
rc = sua_addr_parse(&called, xua, SUA_IEI_DEST_ADDR);
if (rc < 0) {
- LOGPSCI(inst, LOGL_ERROR, "XUA Message %s without valid DEST_ADDR\n",
+ /* Q.714 2.2.2: It is expectd that CO msgs != CREQ have no "Called Address".
+ * Use MTP DPC info provided by SCOC in xua->mtp.dpc instead. */
+ called = (struct osmo_sccp_addr){
+ .ri = OSMO_SCCP_RI_SSN_PC,
+ .presence = OSMO_SCCP_ADDR_T_PC,
+ .pc = xua->mtp.dpc,
+ };
+ }
+ if (!(called.presence & OSMO_SCCP_ADDR_T_PC)) {
+ LOGPSCI(inst, LOGL_ERROR, "XUA Message %s without valid DPC address information\n",
xua_hdr_dump(xua, &xua_dialect_sua));
return -EINVAL;
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/40292?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I602c5be73d7fe6ef2af1cbfe6888227a9f602562
Gerrit-Change-Number: 40292
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>