]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Fix error message for radius_accept_attr config option
authorPali Rohár <pali@kernel.org>
Sat, 10 Oct 2020 17:45:29 +0000 (19:45 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 10 Oct 2020 17:53:01 +0000 (20:53 +0300)
Error message contained wrong config option.

Signed-off-by: Pali Rohár <pali@kernel.org>
hostapd/config_file.c

index 542c8cd0df5cf1ce12ce09b61296950edf948250..ce32f3c04d2c9193218e590a5a0a7e25137ef654 100644 (file)
@@ -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;