Message ID | 20201010174529.3253-1-pali@kernel.org |
---|---|
State | Accepted |
Headers | show |
Series | [RESEND] hostapd: Fix error message for radius_accept_attr config option | expand |
On Sat, Oct 10, 2020 at 07:45:29PM +0200, Pali Rohár wrote:
> Error message contained wrong config option.
Thanks, applied.
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 1861b5203..06925de89 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -341,7 +341,7 @@ static int hostapd_config_read_eap_user(const char *fname, struct hostapd_radius_attr *attr, *a; attr = hostapd_parse_radius_attr(buf + 19); if (attr == NULL) { - wpa_printf(MSG_ERROR, "Invalid radius_auth_req_attr: %s", + wpa_printf(MSG_ERROR, "Invalid radius_accept_attr: %s", buf + 19); user = NULL; /* already in the BSS list */ goto failed;
Error message contained wrong config option. Signed-off-by: Pali Rohár <pali@kernel.org> --- hostapd/config_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)