From 717cceed6ee13b683a3a3b3e8cd25ecdd718a488 Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Mon, 10 Feb 2014 14:42:43 +0000 Subject: [PATCH] Configs git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5065 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/OAI_EPC/oai_epc.c | 5 +++-- openair-cn/OAI_SGW/oai_sgw.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/openair-cn/OAI_EPC/oai_epc.c b/openair-cn/OAI_EPC/oai_epc.c index 05f5944b049..4b8e8e31460 100644 --- a/openair-cn/OAI_EPC/oai_epc.c +++ b/openair-cn/OAI_EPC/oai_epc.c @@ -82,13 +82,14 @@ int main(int argc, char *argv[]) CHECK_INIT_RETURN(sctp_init(&mme_config)); CHECK_INIT_RETURN(udp_init(&mme_config)); CHECK_INIT_RETURN(s1ap_mme_init(&mme_config)); - CHECK_INIT_RETURN(sgi_init(&mme_config)); + // moved CHECK_INIT_RETURN(sgi_init(&spgw_config.pgw_config)); CHECK_INIT_RETURN(gtpv1u_init(&mme_config)); CHECK_INIT_RETURN(mme_app_init(&mme_config)); CHECK_INIT_RETURN(s6a_init(&mme_config)); - CHECK_INIT_RETURN(sgw_lite_init(&mme_config)); + CHECK_INIT_RETURN(sgw_lite_init(mme_config.config_file)); + CHECK_INIT_RETURN(sgi_init(&spgw_config.pgw_config)); /* Handle signals here */ itti_wait_tasks_end(); diff --git a/openair-cn/OAI_SGW/oai_sgw.c b/openair-cn/OAI_SGW/oai_sgw.c index df9efade2ea..4b54f0740fa 100644 --- a/openair-cn/OAI_SGW/oai_sgw.c +++ b/openair-cn/OAI_SGW/oai_sgw.c @@ -65,9 +65,9 @@ int main(int argc, char *argv[]) CHECK_INIT_RETURN(udp_init(&mme_config)); CHECK_INIT_RETURN(s11_sgw_init(&mme_config)); CHECK_INIT_RETURN(gtpv1u_init(&mme_config)); - CHECK_INIT_RETURN(sgi_init(&mme_config)); + CHECK_INIT_RETURN(sgi_init(&pgw_config)); - CHECK_INIT_RETURN(sgw_lite_init(&mme_config)); + CHECK_INIT_RETURN(sgw_lite_init(mme_config.config_file)); /* Handle signals here */ itti_wait_tasks_end(); -- GitLab