Harald Welte has submitted this change and it was merged.

Change subject: xua_cli_conn_cb: Print flags as hex, not decimal.
......................................................................


xua_cli_conn_cb: Print flags as hex, not decimal.

Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6
---
M src/osmo_ss7.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 2dbb94d..df85ea8 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1246,7 +1246,7 @@
        /* read xUA message from socket and process it */
        rc = sctp_recvmsg(ofd->fd, msgb_data(msg), msgb_tailroom(msg),
                          NULL, NULL, &sinfo, &flags);
-       LOGPASP(asp, DLSS7, LOGL_DEBUG, "%s(): sctp_recvmsg() returned %d 
(flags=%d)\n",
+       LOGPASP(asp, DLSS7, LOGL_DEBUG, "%s(): sctp_recvmsg() returned %d 
(flags=0x%x)\n",
                __func__, rc, flags);
        if (rc < 0) {
                osmo_stream_cli_reconnect(conn);

-- 
To view, visit https://gerrit.osmocom.org/2240
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6
Gerrit-PatchSet: 5
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to