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/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgNeels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/9952 Change subject: cosmetic: sccp2sua.c: log the IEI for parsed SCCP addr ...................................................................... cosmetic: sccp2sua.c: log the IEI for parsed SCCP addr Before this, the log looked like it parsed the same address twice with differing results: DLSUA DEBUG sccp2sua.c:333 Parsed Addr: RI=2,PC=1196,SSN=254 DLSUA DEBUG sccp2sua.c:333 Parsed Addr: RI=2,PC=100,SSN=254 Adding the IEI clarifies this: DLSUA DEBUG sccp2sua.c:333 IEI 259: Parsed Addr: RI=2,PC=1196,SSN=254 DLSUA DEBUG sccp2sua.c:333 IEI 258: Parsed Addr: RI=2,PC=100,SSN=254 (I'd have liked to print the IEI name from sua_iei_names, but I frankly can't figure out how to reach that value_string array "hidden" behind a xua_msg_class struct, and neither can I find any other code doing so.) Change-Id: I64adb31129684b2eb66fff581040017ce2f6d163 --- M src/sccp2sua.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/52/9952/1 diff --git a/src/sccp2sua.c b/src/sccp2sua.c index afc38c7..2f5b687 100644 --- a/src/sccp2sua.c +++ b/src/sccp2sua.c @@ -330,7 +330,7 @@ if (rc < 0) return rc; - LOGP(DLSUA, LOGL_DEBUG, "Parsed Addr: %s\n", osmo_sccp_addr_dump(&osa)); + LOGP(DLSUA, LOGL_DEBUG, "IEI %u: Parsed Addr: %s\n", iei, osmo_sccp_addr_dump(&osa)); /* Then re-encode it as SUA address */ return xua_msg_add_sccp_addr(xua, iei, &osa); -- To view, visit https://gerrit.osmocom.org/9952 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I64adb31129684b2eb66fff581040017ce2f6d163 Gerrit-Change-Number: 9952 Gerrit-PatchSet: 1 Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180711/a460af12/attachment.htm>