aboutsummaryrefslogtreecommitdiffstats
path: root/src/sccp2sua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sccp2sua.c')
-rw-r--r--src/sccp2sua.c5
1 files changed, 4 insertions, 1 deletions
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 @@ struct msgb *osmo_sua_to_sccp(struct xua_msg *xua)
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;