Revert "gsm48: move to hex TMSI representation"

This reverts commit f451ce66eb.
This commit is contained in:
Harald Welte 2016-03-17 14:42:45 +01:00
parent f451ce66eb
commit c79b3972fa
1 changed files with 1 additions and 1 deletions

View File

@ -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: