laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/30530 ) Change subject: SCOC: dump SUA header when logging "mismatching remote pc" ...................................................................... SCOC: dump SUA header when logging "mismatching remote pc" Provide some more information in the logs when this happens Change-Id: Idd889b57e8f842e22e5ed54bea0821dcec0cd8ce --- M src/sccp_scoc.c 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/30/30530/1 diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c index cff6e80..be13a8f 100644 --- a/src/sccp_scoc.c +++ b/src/sccp_scoc.c @@ -1726,7 +1726,8 @@ struct xua_msg *xua) { LOGP(DLSCCP, LOGL_NOTICE, - "Received message for opc=%u=%s on conn with mismatching remote pc=%u=%s\n", + "Received message %s for opc=%u=%s on conn with mismatching remote pc=%u=%s\n", + xua_hdr_dump(xua, &xua_dialect_sua), xua->mtp.opc, osmo_ss7_pointcode_print(conn->inst->ss7, xua->mtp.opc), conn->remote_pc, osmo_ss7_pointcode_print2(conn->inst->ss7, conn->remote_pc)); /* we have received a message with invalid origin PC and thus -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/30530 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Idd889b57e8f842e22e5ed54bea0821dcec0cd8ce Gerrit-Change-Number: 30530 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge@osmocom.org> Gerrit-MessageType: newchange