summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2024-01-10 16:28:59 +0100
committerMichael Brown2024-01-10 17:02:32 +0100
commit0abb3e85e518c4d9366d4555093c0aff0c060858 (patch)
treeca712109d5828b8653476207eb4628dcdb236772 /src/include
parent[build] Reduce scope of wildcard .gitignore rules (diff)
downloadipxe-0abb3e85e518c4d9366d4555093c0aff0c060858.tar.gz
ipxe-0abb3e85e518c4d9366d4555093c0aff0c060858.tar.xz
ipxe-0abb3e85e518c4d9366d4555093c0aff0c060858.zip
[eap] Ignore any received EAP responses
EAP responses (including our own) may be broadcast by switches but are not of interest to us and can be safely ignored if received. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/eap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/eap.h b/src/include/ipxe/eap.h
index 818862a9..4b689cc2 100644
--- a/src/include/ipxe/eap.h
+++ b/src/include/ipxe/eap.h
@@ -26,6 +26,9 @@ struct eap_header {
/** EAP request */
#define EAP_CODE_REQUEST 1
+/** EAP response */
+#define EAP_CODE_RESPONSE 2
+
/** EAP request */
struct eap_request {
/** Header */