Commit 1351f5d0 authored by gauthier's avatar gauthier
Browse files

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) ...@@ -273,19 +273,21 @@ int s6a_init(hss_config_t *hss_config_p)
goto err; goto err;
} }
ret = fd_core_start(); /* Parse the external configuration file */
ret = fd_core_parseconf(hss_config_p->freediameter_config);
if (ret != 0) { if (ret != 0) {
strcpy(why, "fd_core_start"); strcpy(why, "fd_core_parseconf");
goto err; goto err;
} }
/* Parse the external configuration file */
ret = fd_core_parseconf(hss_config_p->freediameter_config); ret = fd_core_start();
if (ret != 0) { if (ret != 0) {
strcpy(why, "fd_core_parseconf"); strcpy(why, "fd_core_start");
goto err; goto err;
} }
/* We wait till freediameter has completed loading extensions */ /* We wait till freediameter has completed loading extensions */
fd_core_waitstartcomplete(); 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