mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 08:44:03 -05:00
EAP-SIM DB: Do not require external program at startup
The previous implementation was able to re-open the connection to an external program (e.g., hlr_auc_gw) when needed, but required the connection to be available during startup. Extend this to allow the initial failure, so that hlr_auc_gw can be started after hostapd. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a120c3fad6
commit
704b8762a2
@ -407,8 +407,11 @@ void * eap_sim_db_init(const char *config,
|
|||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (os_strncmp(data->fname, "unix:", 5) == 0) {
|
if (os_strncmp(data->fname, "unix:", 5) == 0) {
|
||||||
if (eap_sim_db_open_socket(data))
|
if (eap_sim_db_open_socket(data)) {
|
||||||
goto fail;
|
wpa_printf(MSG_DEBUG, "EAP-SIM DB: External database "
|
||||||
|
"connection not available - will retry "
|
||||||
|
"later");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
Reference in New Issue
Block a user