Commit b1750c29 authored by lfarizav's avatar lfarizav

some little mods in oaisim_functions

parent 617b92cf
...@@ -2336,7 +2336,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP) ...@@ -2336,7 +2336,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
enb_properties.properties[enb_properties_index]->nb_rrh_gw = 0; enb_properties.properties[enb_properties_index]->nb_rrh_gw = 0;
for (j = 0; j < num_rrh_gw; j++) { for (j = 0; j < num_rrh_gw; j++) {
printf("num_rrh_gw is %d\n",num_rrh_gw); //printf("num_rrh_gw is %d\n",num_rrh_gw);
setting_rrh_gw = config_setting_get_elem(setting_rrh_gws, j); setting_rrh_gw = config_setting_get_elem(setting_rrh_gws, j);
if ( !( if ( !(
...@@ -2361,7 +2361,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP) ...@@ -2361,7 +2361,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
} }
enb_properties.properties[enb_properties_index]->nb_rrh_gw += 1; enb_properties.properties[enb_properties_index]->nb_rrh_gw += 1;
printf("nb_rrh_gw is %d\n",enb_properties.properties[enb_properties_index]->nb_rrh_gw); //printf("nb_rrh_gw is %d\n",enb_properties.properties[enb_properties_index]->nb_rrh_gw);
enb_properties.properties[enb_properties_index]->rrh_gw_config[j].rrh_gw_if_name = strdup(if_name); enb_properties.properties[enb_properties_index]->rrh_gw_config[j].rrh_gw_if_name = strdup(if_name);
enb_properties.properties[enb_properties_index]->rrh_gw_config[j].local_address = strdup(ipv4); enb_properties.properties[enb_properties_index]->rrh_gw_config[j].local_address = strdup(ipv4);
enb_properties.properties[enb_properties_index]->rrh_gw_config[j].remote_address = strdup(ipv4_remote); enb_properties.properties[enb_properties_index]->rrh_gw_config[j].remote_address = strdup(ipv4_remote);
...@@ -2801,8 +2801,8 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP) ...@@ -2801,8 +2801,8 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
} }
enb_properties.number = num_enb_properties; enb_properties.number = num_enb_properties;
printf("num_enb_properties %d\n",num_enb_properties); //printf("num_enb_properties %d\n",num_enb_properties);
printf("enb_properties.number %d\n",enb_properties.number); //printf("enb_properties.number %d\n",enb_properties.number);
AssertFatal (enb_properties_index == num_enb_properties, AssertFatal (enb_properties_index == num_enb_properties,
"Failed to parse eNB configuration file %s, mismatch between %u active eNBs and %u corresponding defined eNBs !\n", "Failed to parse eNB configuration file %s, mismatch between %u active eNBs and %u corresponding defined eNBs !\n",
lib_config_file_name_pP, num_enb_properties, enb_properties_index); lib_config_file_name_pP, num_enb_properties, enb_properties_index);
......
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