|
@@ -375,7 +375,7 @@ wpa_supplicant_ctrl_iface_init(struct wpa_supplicant *wpa_s)
|
|
|
}
|
|
|
if (bind(priv->sock, (struct sockaddr *) &addr,
|
|
|
sizeof(addr)) < 0) {
|
|
|
- perror("bind(PF_UNIX)");
|
|
|
+ perror("supp-ctrl-iface-init: bind(PF_UNIX)");
|
|
|
goto fail;
|
|
|
}
|
|
|
wpa_printf(MSG_DEBUG, "Successfully replaced leftover "
|
|
@@ -667,7 +667,8 @@ wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global)
|
|
|
os_strlcpy(addr.sun_path, global->params.ctrl_interface,
|
|
|
sizeof(addr.sun_path));
|
|
|
if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
|
|
|
- perror("bind(PF_UNIX)");
|
|
|
+ perror("supp-global-ctrl-iface-init (will try fixup): "
|
|
|
+ "bind(PF_UNIX)");
|
|
|
if (connect(priv->sock, (struct sockaddr *) &addr,
|
|
|
sizeof(addr)) < 0) {
|
|
|
wpa_printf(MSG_DEBUG, "ctrl_iface exists, but does not"
|
|
@@ -682,7 +683,7 @@ wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global)
|
|
|
}
|
|
|
if (bind(priv->sock, (struct sockaddr *) &addr,
|
|
|
sizeof(addr)) < 0) {
|
|
|
- perror("bind(PF_UNIX)");
|
|
|
+ perror("supp-glb-iface-init: bind(PF_UNIX)");
|
|
|
goto fail;
|
|
|
}
|
|
|
wpa_printf(MSG_DEBUG, "Successfully replaced leftover "
|