hostapd: Fix error message for radius_accept_attr config option

Error message contained wrong config option.

Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
Pali Rohár 2020-10-10 19:45:29 +02:00 committed by Jouni Malinen
parent 52a1b28345
commit 58c18bcf86

View file

@ -341,7 +341,7 @@ static int hostapd_config_read_eap_user(const char *fname,
struct hostapd_radius_attr *attr, *a; struct hostapd_radius_attr *attr, *a;
attr = hostapd_parse_radius_attr(buf + 19); attr = hostapd_parse_radius_attr(buf + 19);
if (attr == NULL) { if (attr == NULL) {
wpa_printf(MSG_ERROR, "Invalid radius_auth_req_attr: %s", wpa_printf(MSG_ERROR, "Invalid radius_accept_attr: %s",
buf + 19); buf + 19);
user = NULL; /* already in the BSS list */ user = NULL; /* already in the BSS list */
goto failed; goto failed;