diff options
author | Max <msuraev@sysmocom.de> | 2017-02-16 12:25:22 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-02-16 12:26:43 +0100 |
commit | aa0fefd5d6a356ecde57a8e81c5d7e291765ff55 (patch) | |
tree | a531cb4a8e8fa6bbdeb4ea546712ba0d0e38b7ae | |
parent | 27c6b9016a511b8b66810808ee2282f11b3320a9 (diff) |
Use strings for GSUP message type
Change-Id: Idf57a314f5c8cfbd4818600c90020e3ed3decc77
-rw-r--r-- | src/hlr.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -510,8 +510,9 @@ static int read_cb(struct osmo_gsup_conn *conn, struct msgb *msg) { struct lu_operation *luop = lu_op_by_imsi(gsup.imsi); if (!luop) { - LOGP(DMAIN, LOGL_ERROR, "GSUP message %u for " - "unknown IMSI %s\n", gsup.message_type, + LOGP(DMAIN, LOGL_ERROR, "GSUP message %s for " + "unknown IMSI %s\n", + osmo_gsup_message_type_name(gsup.message_type), gsup.imsi); break; } @@ -519,8 +520,8 @@ static int read_cb(struct osmo_gsup_conn *conn, struct msgb *msg) } break; default: - LOGP(DMAIN, LOGL_DEBUG, "Unhandled GSUP message type %u\n", - gsup.message_type); + LOGP(DMAIN, LOGL_DEBUG, "Unhandled GSUP message type %s\n", + osmo_gsup_message_type_name(gsup.message_type)); break; } msgb_free(msg); |