diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-03-17 14:42:45 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-03-17 14:43:02 +0100 |
commit | c79b3972faf900e3d843ddc13601e6178e3131ff (patch) | |
tree | 5da47f69684d70ef0d6cf7d585dd44e558118b95 /src | |
parent | f451ce66eb8206bad1078849723edcb209632834 (diff) |
Revert "gsm48: move to hex TMSI representation"
This reverts commit f451ce66eb8206bad1078849723edcb209632834.
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/gsm48.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |