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
No related merge requests found
......@@ -371,7 +371,10 @@ void x2ap_eNB_handle_sctp_init_msg_multi_cnf(
/* Exit if CNF message reports failure.
* 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 */
......
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