From 85386dcfad9f9a81938dfc411ac1a4f916726361 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 10 Dec 2018 13:26:39 +0100 Subject: 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 --- include/osmocom/sgsn/gprs_sgsn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3