Commit 1351f5d0 authored by Lionel Gauthier's avatar Lionel Gauthier

sequence of init was wrong

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5376 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e6770e03
......@@ -273,19 +273,21 @@ int s6a_init(hss_config_t *hss_config_p)
goto err;
}
ret = fd_core_start();
/* Parse the external configuration file */
ret = fd_core_parseconf(hss_config_p->freediameter_config);
if (ret != 0) {
strcpy(why, "fd_core_start");
strcpy(why, "fd_core_parseconf");
goto err;
}
/* Parse the external configuration file */
ret = fd_core_parseconf(hss_config_p->freediameter_config);
ret = fd_core_start();
if (ret != 0) {
strcpy(why, "fd_core_parseconf");
strcpy(why, "fd_core_start");
goto err;
}
/* We wait till freediameter has completed loading extensions */
fd_core_waitstartcomplete();
......
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