aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gprs/sgsn_auth.c2
-rw-r--r--src/gprs/sgsn_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs/sgsn_auth.c b/src/gprs/sgsn_auth.c
index 50f2126..b8d8035 100644
--- a/src/gprs/sgsn_auth.c
+++ b/src/gprs/sgsn_auth.c
@@ -38,7 +38,7 @@ const struct value_string auth_state_names[] = {
const struct value_string *sgsn_auth_state_names = auth_state_names;
-void sgsn_auth_init(void)
+void sgsn_auth_init(struct sgsn_instance *sgsn)
{
INIT_LLIST_HEAD(&sgsn->cfg.imsi_acl);
}
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index 1c76d6f..798e507 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -432,7 +432,7 @@ int main(int argc, char **argv)
bssgp_vty_init();
gprs_llc_vty_init();
gprs_sndcp_vty_init();
- sgsn_auth_init();
+ sgsn_auth_init(sgsn);
sgsn_cdr_init(sgsn);
/* FIXME: register signal handler for SS_L_NS */