Commit b8a66a0f authored by winckel's avatar winckel

Use command line option for MME IP address when available.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4434 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9e33f65f
...@@ -391,8 +391,17 @@ void *l2l1_task(void *args_p) { ...@@ -391,8 +391,17 @@ void *l2l1_task(void *args_p) {
(eNB_id < (oai_emulation.info.first_enb_local + oai_emulation.info.nb_enb_local)) && (oai_emulation.info.cli_start_enb[eNB_id] == 1); (eNB_id < (oai_emulation.info.first_enb_local + oai_emulation.info.nb_enb_local)) && (oai_emulation.info.cli_start_enb[eNB_id] == 1);
eNB_id++) eNB_id++)
{ {
/* FIXME: acquire MMEs IP address by XML file or command line */ char *mme_address_v4;
char *mme_address_v4 = "192.168.12.87";
if (oai_emulation.info.mme_enabled)
{
mme_address_v4 = oai_emulation.info.mme_ip_address;
}
else
{
/* FIXME: acquire MMEs IP address by XML file or command line */
mme_address_v4 = "192.168.12.87";
}
char *mme_address_v6 = "2001:660:5502:12:30da:829a:2343:b6cf"; char *mme_address_v6 = "2001:660:5502:12:30da:829a:2343:b6cf";
s1ap_register_eNB_t *s1ap_register_eNB; s1ap_register_eNB_t *s1ap_register_eNB;
uint32_t hash; uint32_t hash;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment