]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Interworking: Print unsupported inner EAP-TTLS method in debug log
authorChaoli Zhou <quic_zchaoli@quicinc.com>
Tue, 11 Oct 2022 10:57:44 +0000 (18:57 +0800)
committerJouni Malinen <j@w1.fi>
Fri, 14 Oct 2022 13:13:24 +0000 (16:13 +0300)
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>
wpa_supplicant/interworking.c

index bc81728ad208385ce88e78cfa2e06683c50d47cc..6ae21737d4da9d30ad52eb2dd5bd2236cb53b1fa 100644 (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:
                                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: