Max has uploaded this change for review. ( https://gerrit.osmocom.org/12224


Change subject: Use libosmocore constant for IMSI length in ACL entry
......................................................................

Use libosmocore constant for IMSI length in ACL entry

Change-Id: I138aea409aab0c748c75546e628797fc7498bf40
---
M include/osmocom/sgsn/gprs_sgsn.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/24/12224/1

diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index 5d08d66..fcf4d5d 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -414,7 +414,7 @@
  */
 struct imsi_acl_entry {
        struct llist_head list;
-       char imsi[16+1];
+       char imsi[GSM23003_IMSI_MAX_DIGITS + 2];
 };

 /* see GSM 09.02, 17.7.1, PDP-Context and GPRSSubscriptionData */

--
To view, visit https://gerrit.osmocom.org/12224
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I138aea409aab0c748c75546e628797fc7498bf40
Gerrit-Change-Number: 12224
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>

Reply via email to