Interworking: Print unsupported inner EAP-TTLS method in debug log

This can be helpful in trying to figure out unexpected behavior even
though we do not currently really do anything with the inner method
type.

Signed-off-by: Chaoli Zhou <quic_zchaoli@quicinc.com>
This commit is contained in:
Chaoli Zhou 2022-10-11 18:57:44 +08:00 committed by Jouni Malinen
parent f8a05de669
commit fcdd76fa28

View file

@ -421,6 +421,11 @@ static const u8 * nai_realm_parse_eap(struct nai_realm_eap *e, const u8 *pos,
case NAI_REALM_INNER_NON_EAP_MSCHAPV2: case NAI_REALM_INNER_NON_EAP_MSCHAPV2:
wpa_printf(MSG_DEBUG, "EAP-TTLS/MSCHAPV2"); wpa_printf(MSG_DEBUG, "EAP-TTLS/MSCHAPV2");
break; break;
default:
wpa_printf(MSG_DEBUG,
"Unsupported EAP-TTLS inner method %u",
*pos);
break;
} }
break; break;
case NAI_REALM_EAP_AUTH_INNER_AUTH_EAP_METHOD: case NAI_REALM_EAP_AUTH_INNER_AUTH_EAP_METHOD: