log: als output hexdump of transmitted sccp messages

We output a hexdump for each sccp message we receive, but not
when sending.

Also log the hexdump of transmitted sccp messages

Change-Id: Ibfe52a0b7dbca4c569c603a008d73d0d99d1c345
This commit is contained in:
Philipp Maier 2017-10-19 14:22:45 +02:00
parent 73ab3f070a
commit 9ddcdf4354
1 changed files with 2 additions and 2 deletions

View File

@ -340,8 +340,8 @@ int osmo_bsc_sigtran_send(const struct osmo_bsc_sccp_con *conn, struct msgb *msg
ss7 = osmo_ss7_instance_find(msc->a.cs7_instance);
OSMO_ASSERT(ss7);
LOGP(DMSC, LOGL_DEBUG, "Sending connection (id=%i) oriented data to MSC: %si\n",
conn_id, osmo_sccp_addr_name(ss7, &msc->a.msc_addr));
LOGP(DMSC, LOGL_DEBUG, "Sending connection (id=%i) oriented data (%s) to MSC: %s\n",
conn_id, osmo_hexdump(msg->data, msg->len), osmo_sccp_addr_name(ss7, &msc->a.msc_addr));
rc = osmo_sccp_tx_data_msg(msc->a.sccp_user, conn_id, msg);