aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-10-24 15:11:03 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-10-27 13:06:55 +0100
commit3b5d4072035a87f85ffda6b155cbdd3bbc15deef (patch)
tree295807f816d19d65bfb1df616b0c11b639b3b732 /openbsc/src/gprs/sgsn_main.c
parentfb26c60a2faf48339f09b336977eccf3d300cba4 (diff)
sgsn: Moved IMSI ACL management to sgsn_auth.c
Currently the ACL code is located in sgsn_vty.c. This commit moves this to a new file sgsn_auth.c as a first step to make authorization more flexible in order to implement remote acquisition on subsciber data. Sponsored-by: On-Waves ehf
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 41e11f72b..d8e01ff09 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -345,6 +345,7 @@ int main(int argc, char **argv)
bssgp_vty_init();
gprs_llc_vty_init();
gprs_sndcp_vty_init();
+ sgsn_auth_init(&sgsn_inst);
/* FIXME: register signal handler for SS_L_NS */
rc = sgsn_parse_config(sgsn_inst.config_file, &sgsn_inst.cfg);