summaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm23003.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/gsm23003.c')
-rw-r--r--src/gsm/gsm23003.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/gsm23003.c b/src/gsm/gsm23003.c
index 2252f706..a97ed079 100644
--- a/src/gsm/gsm23003.c
+++ b/src/gsm/gsm23003.c
@@ -69,7 +69,7 @@ bool osmo_imsi_str_valid(const char *imsi)
*/
bool osmo_msisdn_str_valid(const char *msisdn)
{
- return is_n_digits(msisdn, 1, 15);
+ return is_n_digits(msisdn, GSM23003_MSISDN_MIN_DIGITS, GSM23003_MSISDN_MAX_DIGITS);
}
/*! Determine whether the given IMEI is valid according to 3GPP TS 23.003,