diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2016-03-16 21:14:03 +0600 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-03-17 14:15:16 +0100 |
commit | 044fbe6568f82a12bf4e3addc7e3d6db529b6548 (patch) | |
tree | a76811eda49164a576922cb1cbf4fdf2e03923e0 /openbsc/include/openbsc/gsm_subscriber.h | |
parent | d2fa7a509a989bb775b56932502d128ec974330d (diff) |
move to hex TMSI representation
In OpenBSC, we traditionally displayed a TMSI in its integer
representation, which is quite unusual in the telecom world. A TMSI is
normally printed as a series of 8 hex digits.
This patch aligns OpenBSC with the telecom industry standard.
Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com>
Diffstat (limited to 'openbsc/include/openbsc/gsm_subscriber.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_subscriber.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h index 7d6c776bc..785dc3617 100644 --- a/openbsc/include/openbsc/gsm_subscriber.h +++ b/openbsc/include/openbsc/gsm_subscriber.h @@ -14,7 +14,7 @@ #define GSM_SUBSCRIBER_FIRST_CONTACT 0x00000001 /* gprs_sgsn.h defines additional flags including and above bit 16 (0x10000) */ -#define tmsi_from_string(str) strtoul(str, NULL, 10) +#define tmsi_from_string(str) strtoul(str + 2, NULL, 16) #define GSM_SUBSCRIBER_NO_EXPIRATION 0x0 |