aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-05-25 19:27:17 +0700
committerHarald Welte <laforge@gnumonks.org>2019-05-29 08:48:16 +0000
commit8b0737fa71ea4b04cee8dc61c79a1f93779e66dc (patch)
treec6fddf988c8c87313a396e79466ac41d5feb8129 /include
parent483cea889c776fb556184479d69431054d4e3ae6 (diff)
Use GSM23003_MSISDN_MAX_DIGITS from libosmogsm
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/vlr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/osmocom/msc/vlr.h b/include/osmocom/msc/vlr.h
index b1c0d5dde..56314b747 100644
--- a/include/osmocom/msc/vlr.h
+++ b/include/osmocom/msc/vlr.h
@@ -113,7 +113,6 @@ struct sgsn_mm_ctx;
struct vlr_instance;
#define VLR_NAME_LENGTH 160
-#define VLR_MSISDN_LENGTH 15
/* The VLR subscriber is the part of the GSM subscriber state in VLR (CS) or
* SGSN (PS), particularly while interacting with the HLR via GSUP */
@@ -127,7 +126,7 @@ struct vlr_subscr {
/* Data from HLR */ /* 3GPP TS 23.008 */
/* Always use vlr_subscr_set_imsi() to write to imsi[] */
char imsi[GSM23003_IMSI_MAX_DIGITS+1]; /* 2.1.1.1 */
- char msisdn[VLR_MSISDN_LENGTH+1]; /* 2.1.2 */
+ char msisdn[GSM23003_MSISDN_MAX_DIGITS+1]; /* 2.1.2 */
char name[VLR_NAME_LENGTH+1]; /* proprietary */
OSMO_LBUF_DECL(hlr, 16); /* 2.4.7 */
uint32_t periodic_lu_timer; /* 2.4.24 */