From: Chaoli Zhou Date: Tue, 11 Oct 2022 10:57:44 +0000 (+0800) Subject: Interworking: Print unsupported inner EAP-TTLS method in debug log X-Git-Tag: hostap_2_11~1655 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcdd76fa28305d916b383c7e7c2c1e658f84ecd5;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c index bc81728ad..6ae21737d 100644 --- a/wpa_supplicant/interworking.c +++ b/wpa_supplicant/interworking.c @@ -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: wpa_printf(MSG_DEBUG, "EAP-TTLS/MSCHAPV2"); break; + default: + wpa_printf(MSG_DEBUG, + "Unsupported EAP-TTLS inner method %u", + *pos); + break; } break; case NAI_REALM_EAP_AUTH_INNER_AUTH_EAP_METHOD: