[PATCH 5/5] Treat Protocol-Error as Access-Reject in 802.11
aland at deployingradius.com
aland at deployingradius.com
Wed Oct 21 07:47:00 PDT 2026
From: "Alan T. DeKok" <aland at freeradius.org>
Signed-off-by: Alan DeKok <alan.dekok at inkbridge.io>
---
src/ap/ieee802_11_auth.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ap/ieee802_11_auth.c b/src/ap/ieee802_11_auth.c
index 913a99597..186142ebb 100644
--- a/src/ap/ieee802_11_auth.c
+++ b/src/ap/ieee802_11_auth.c
@@ -517,7 +517,8 @@ hostapd_acl_recv_radius(struct radius_msg *msg, struct radius_msg *req,
}
if (hdr->code != RADIUS_CODE_ACCESS_ACCEPT &&
- hdr->code != RADIUS_CODE_ACCESS_REJECT) {
+ hdr->code != RADIUS_CODE_ACCESS_REJECT &&
+ hdr->code != RADIUS_CODE_PROTOCOL_ERROR) {
wpa_printf(MSG_DEBUG,
"Unknown RADIUS message code %d to ACL query",
hdr->code);
--
2.49.0
More information about the Hostap
mailing list