This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/1839
Use strings for GSUP message type
Change-Id: Idf57a314f5c8cfbd4818600c90020e3ed3decc77
---
M src/hlr.c
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/39/1839/1
diff --git a/src/hlr.c b/src/hlr.c
index 206ddc1..6420cc5 100644
--- a/src/hlr.c
+++ b/src/hlr.c
@@ -510,8 +510,9 @@
{
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 @@
}
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);
--
To view, visit https://gerrit.osmocom.org/1839
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf57a314f5c8cfbd4818600c90020e3ed3decc77
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>