sequence of init was wrong
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5376 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -273,12 +273,6 @@ int s6a_init(hss_config_t *hss_config_p)
|
||||
goto err;
|
||||
}
|
||||
|
||||
ret = fd_core_start();
|
||||
if (ret != 0) {
|
||||
strcpy(why, "fd_core_start");
|
||||
goto err;
|
||||
}
|
||||
|
||||
/* Parse the external configuration file */
|
||||
ret = fd_core_parseconf(hss_config_p->freediameter_config);
|
||||
if (ret != 0) {
|
||||
@@ -286,6 +280,14 @@ int s6a_init(hss_config_t *hss_config_p)
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
||||
ret = fd_core_start();
|
||||
if (ret != 0) {
|
||||
strcpy(why, "fd_core_start");
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
||||
/* We wait till freediameter has completed loading extensions */
|
||||
fd_core_waitstartcomplete();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user