pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16916 )
Change subject: sccp2sua.c: Log malformed SUA message ...................................................................... sccp2sua.c: Log malformed SUA message Change-Id: Ie04371d27426011e1a1a4f9136e0b28bf33df03b --- M src/sccp2sua.c 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/16/16916/1 diff --git a/src/sccp2sua.c b/src/sccp2sua.c index 2be27ea..92a3907 100644 --- a/src/sccp2sua.c +++ b/src/sccp2sua.c @@ -1468,8 +1468,11 @@ goto out_err; } - if (rc < 0) + if (rc < 0) { + LOGP(DLSUA, LOGL_ERROR, "Malformed SUA message %s\n", + xua_hdr_dump(xua, &xua_dialect_sua)); goto out_err; + } return msg; -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16916 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Ie04371d27426011e1a1a4f9136e0b28bf33df03b Gerrit-Change-Number: 16916 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pes...@sysmocom.de> Gerrit-MessageType: newchange