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

tweak db debug log: log TMSI as hex

Change-Id: I4564c99c145a35fb592c228c1fa84c61ec425fd3
---
M openbsc/src/libmsc/db.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/94/94/1

diff --git a/openbsc/src/libmsc/db.c b/openbsc/src/libmsc/db.c
index e5017ae..b555905 100644
--- a/openbsc/src/libmsc/db.c
+++ b/openbsc/src/libmsc/db.c
@@ -891,7 +891,7 @@
        subscr->id = dbi_result_get_ulonglong(result, "id");

        db_set_from_query(subscr, result);
-       DEBUGP(DDB, "Found Subscriber: ID %llu, IMSI %s, NAME '%s', TMSI %u, 
EXTEN '%s', LAC %hu, AUTH %u\n",
+       DEBUGP(DDB, "Found Subscriber: ID %llu, IMSI %s, NAME '%s', TMSI %x, 
EXTEN '%s', LAC %hu, AUTH %u\n",
                subscr->id, subscr->imsi, subscr->name, subscr->tmsi, 
subscr->extension,
                subscr->lac, subscr->authorized);
        dbi_result_free(result);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4564c99c145a35fb592c228c1fa84c61ec425fd3
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to