Review at  https://gerrit.osmocom.org/2240

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(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/40/2240/1

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: newchange
Gerrit-Change-Id: Idcf861cfdc6c14d7d3bafbf2e243da5db6e2f3e6
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to