aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-12-10 13:26:39 +0100
committerVadim Yanitskiy <axilirator@gmail.com>2019-11-23 19:12:45 +0700
commit85386dcfad9f9a81938dfc411ac1a4f916726361 (patch)
tree7db6b8ab0bd9fa9fd37ff006ad8f2b71a697a4aa /include
parent9203da58e2671108f07d14c12d6c1c8ed291f6f2 (diff)
Use libosmocore constant for IMSI length in ACL entry
Presumably the length is chosen to match that of imsi in osmo_gsup_message. Change-Id: I138aea409aab0c748c75546e628797fc7498bf40
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sgsn/gprs_sgsn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index 0886ce7e..289e0c47 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -428,7 +428,7 @@ int sgsn_ctrl_cmds_install(void);
*/
struct imsi_acl_entry {
struct llist_head list;
- char imsi[16+1];
+ char imsi[OSMO_IMSI_BUF_SIZE];
};
/* see GSM 09.02, 17.7.1, PDP-Context and GPRSSubscriptionData */