Do not refer to Flags::Version field as 'PEAP version'
This field is also used for EAP-TTLS and EAP-FAST, so it is clearer to use a more generic term for it.
This commit is contained in:
parent
34f564dbd5
commit
3c724cc564
5 changed files with 10 additions and 12 deletions
|
@ -1351,7 +1351,7 @@ static void eap_peap_process(struct eap_sm *sm, void *priv,
|
|||
wpa_printf(MSG_DEBUG, "EAP-PEAP: Received packet(len=%lu) - "
|
||||
"Flags 0x%02x", (unsigned long) wpabuf_len(respData),
|
||||
flags);
|
||||
data->recv_version = peer_version = flags & EAP_PEAP_VERSION_MASK;
|
||||
data->recv_version = peer_version = flags & EAP_TLS_VERSION_MASK;
|
||||
if (data->force_version >= 0 && peer_version != data->force_version) {
|
||||
wpa_printf(MSG_INFO, "EAP-PEAP: peer did not select the forced"
|
||||
" version (forced=%d peer=%d) - reject",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue