Commit 42f0ff23 authored by Cedric Roux's avatar Cedric Roux

- Fix undefined reference when RAL disabled

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4662 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent c26a1300
...@@ -149,7 +149,9 @@ void get_simulation_options(int argc, char *argv[]) { ...@@ -149,7 +149,9 @@ void get_simulation_options(int argc, char *argv[]) {
omg_period = atoi(optarg); omg_period = atoi(optarg);
printf("OMG period is %d\n", omg_period); printf("OMG period is %d\n", omg_period);
} }
} else if (! strcmp(long_options[option_index].name, "enb-ral-listening-port")) { }
#if defined(ENABLE_RAL)
else if (! strcmp(long_options[option_index].name, "enb-ral-listening-port")) {
if (optarg) { if (optarg) {
g_conf_enb_ral_listening_port = strdup(optarg); g_conf_enb_ral_listening_port = strdup(optarg);
printf("eNB RAL listening port is %s\n", g_conf_enb_ral_listening_port); printf("eNB RAL listening port is %s\n", g_conf_enb_ral_listening_port);
...@@ -220,6 +222,7 @@ void get_simulation_options(int argc, char *argv[]) { ...@@ -220,6 +222,7 @@ void get_simulation_options(int argc, char *argv[]) {
printf("UE MIH-F id is %s\n", g_conf_ue_mihf_id); printf("UE MIH-F id is %s\n", g_conf_ue_mihf_id);
} }
} }
#endif
break; break;
case 'L': // set FDD case 'L': // set FDD
flag_LA = atoi(optarg); flag_LA = atoi(optarg);
......
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