aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_subscriber.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-03-17 14:41:26 +0100
committerHarald Welte <laforge@gnumonks.org>2016-03-17 14:42:24 +0100
commit3ad0346f00c4d135f7d4d15017ce2941e13e2c54 (patch)
treeac1b91a86b068b4c04f5bb40ac3e34974d2d37ff /openbsc/include/openbsc/gsm_subscriber.h
parent044fbe6568f82a12bf4e3addc7e3d6db529b6548 (diff)
Revert "move to hex TMSI representation"
This reverts commit 044fbe6568f82a12bf4e3addc7e3d6db529b6548.
Diffstat (limited to 'openbsc/include/openbsc/gsm_subscriber.h')
-rw-r--r--openbsc/include/openbsc/gsm_subscriber.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h
index 785dc3617..7d6c776bc 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 + 2, NULL, 16)
+#define tmsi_from_string(str) strtoul(str, NULL, 10)
#define GSM_SUBSCRIBER_NO_EXPIRATION 0x0