added TTLS to EAP short names, too
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 6 Aug 2010 04:06:40 +0000 (06:06 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 6 Aug 2010 04:06:40 +0000 (06:06 +0200)
src/libstrongswan/credentials/auth_cfg.c

index 0c1aba1..9b3078f 100644 (file)
@@ -63,7 +63,9 @@ ENUM_NEXT(eap_type_short_names, EAP_TLS, EAP_TLS, EAP_GTC,
        "TLS");
 ENUM_NEXT(eap_type_short_names, EAP_SIM, EAP_SIM, EAP_TLS,
        "SIM");
-ENUM_NEXT(eap_type_short_names, EAP_AKA, EAP_AKA, EAP_SIM,
+ENUM_NEXT(eap_type_short_names, EAP_TTLS, EAP_TTLS, EAP_SIM,
+       "TTLS");
+ENUM_NEXT(eap_type_short_names, EAP_AKA, EAP_AKA, EAP_TTLS,
        "AKA");
 ENUM_NEXT(eap_type_short_names, EAP_MSCHAPV2, EAP_MSCHAPV2, EAP_AKA,
        "MSCHAPV2");