From c79b3972faf900e3d843ddc13601e6178e3131ff Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 17 Mar 2016 14:42:45 +0100 Subject: Revert "gsm48: move to hex TMSI representation" This reverts commit f451ce66eb8206bad1078849723edcb209632834. --- src/gsm/gsm48.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c index e4a98d61..d0a22867 100644 --- a/src/gsm/gsm48.c +++ b/src/gsm/gsm48.c @@ -394,7 +394,7 @@ int gsm48_mi_to_string(char *string, const int str_len, const uint8_t *mi, if (mi_len == GSM48_TMSI_LEN && mi[0] == (0xf0 | GSM_MI_TYPE_TMSI)) { memcpy(&tmsi, &mi[1], 4); tmsi = ntohl(tmsi); - return snprintf(string, str_len, "0x%08x", tmsi); + return snprintf(string, str_len, "%u", tmsi); } break; case GSM_MI_TYPE_IMSI: -- cgit v1.2.3