From 9472ab91ba81132a5539f55ae214988698c0b332 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 29 Jul 2020 21:27:04 +0200 Subject: SCOC: log message type that was received for unknown local reference A message like DLSCCP <0011> sccp_scoc.c:1653 Cannot find connection for local reference 1154 is not incredibly useful, as you don't even know what type of SCCP/SUA message had been received. Change-Id: I18af9d7e9ea4877b13bf98a980b0ba97c5ed6599 --- src/sccp_scoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c index 015850e..1ce08f8 100644 --- a/src/sccp_scoc.c +++ b/src/sccp_scoc.c @@ -1649,8 +1649,8 @@ void sccp_scoc_rx_from_scrc(struct osmo_sccp_instance *inst, conn_id = xua_msg_get_u32(xua, SUA_IEI_DEST_REF); conn = conn_find_by_id(inst, conn_id); if (!conn) { - LOGP(DLSCCP, LOGL_NOTICE, "Cannot find connection for " - "local reference %u\n", conn_id); + LOGP(DLSCCP, LOGL_NOTICE, "Received %s: Cannot find connection for " + "local reference %u\n", xua_hdr_dump(xua, &xua_dialect_sua), conn_id); sccp_scoc_rx_unass_local_ref(inst, xua); return; } -- cgit v1.2.3