aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-19 11:00:13 +0100
committerHarald Welte <laforge@gnumonks.org>2013-07-21 15:44:24 +0800
commit7f6da485f5af0ad5a5a5176c2fc3fe0550beac14 (patch)
treeb8182fc38ce459344c6f7dba8cc1a3e94c5fb1b7 /openbsc/src/gprs/sgsn_main.c
parentcb5353d8511f7cd36472334402f7ac31dc26327b (diff)
sgsn: add a minimalistic ACL
This adds a minimalistic ACL by which certain, individual roaming IMSIs can be authorized to use the SGSN. So you can selectively bypass the 'MCC+MNC == first 5 digits of IMSI' checking for a couple of IMSIs
Diffstat (limited to 'openbsc/src/gprs/sgsn_main.c')
-rw-r--r--openbsc/src/gprs/sgsn_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index 08e0a85fa..9d42648a4 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -75,6 +75,7 @@ static struct sgsn_instance sgsn_inst = {
.config_file = "osmo_sgsn.cfg",
.cfg = {
.gtp_statedir = "./",
+ .acl_enabled = 1,
},
};
struct sgsn_instance *sgsn = &sgsn_inst;