Skip to content
Snippets Groups Projects
Commit 00e21e74 authored by Cédric Roux's avatar Cédric Roux
Browse files

integration fix: better error reporting in case of X2 failure

If the IP address for X2AP is not good, the error message reported
was very unclear. Attempt to make it better.
parent 83301612
No related branches found
No related tags found
3 merge requests!433Merging develop into develop-nr,!430Develop nr merge2,!389Develop integration 2018 w36
...@@ -371,7 +371,10 @@ void x2ap_eNB_handle_sctp_init_msg_multi_cnf( ...@@ -371,7 +371,10 @@ void x2ap_eNB_handle_sctp_init_msg_multi_cnf(
/* Exit if CNF message reports failure. /* Exit if CNF message reports failure.
* Failure means multi_sd < 0. * Failure means multi_sd < 0.
*/ */
DevAssert(instance->multi_sd >= 0); if (instance->multi_sd < 0) {
X2AP_ERROR("Error: be sure to properly configure X2 in your configuration file.\n");
DevAssert(instance->multi_sd >= 0);
}
/* Trying to connect to the provided list of eNB ip address */ /* Trying to connect to the provided list of eNB ip address */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment