diff options
author | Max <msuraev@sysmocom.de> | 2018-12-10 13:26:39 +0100 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-11-23 19:12:45 +0700 |
commit | 85386dcfad9f9a81938dfc411ac1a4f916726361 (patch) | |
tree | 7db6b8ab0bd9fa9fd37ff006ad8f2b71a697a4aa /include | |
parent | 9203da58e2671108f07d14c12d6c1c8ed291f6f2 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index 0886ce7e9..289e0c474 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 */ |