recognize eap-ttls method
This commit is contained in:
@@ -30,6 +30,7 @@ eap_type_t eap_type_from_string(char *name)
|
|||||||
{"otp", EAP_OTP},
|
{"otp", EAP_OTP},
|
||||||
{"gtc", EAP_GTC},
|
{"gtc", EAP_GTC},
|
||||||
{"tls", EAP_TLS},
|
{"tls", EAP_TLS},
|
||||||
|
{"ttls", EAP_TTLS},
|
||||||
{"sim", EAP_SIM},
|
{"sim", EAP_SIM},
|
||||||
{"aka", EAP_AKA},
|
{"aka", EAP_AKA},
|
||||||
{"mschapv2", EAP_MSCHAPV2},
|
{"mschapv2", EAP_MSCHAPV2},
|
||||||
|
|||||||
@@ -691,6 +691,10 @@ static void load_conn(starter_conn_t *conn, kw_list_t *kw, starter_config_t *cfg
|
|||||||
{
|
{
|
||||||
conn->eap_type = 13;
|
conn->eap_type = 13;
|
||||||
}
|
}
|
||||||
|
else if (streq(kw->value, "ttls"))
|
||||||
|
{
|
||||||
|
conn->eap_type = 21;
|
||||||
|
}
|
||||||
else if (streq(kw->value, "mschapv2"))
|
else if (streq(kw->value, "mschapv2"))
|
||||||
{
|
{
|
||||||
conn->eap_type = 26;
|
conn->eap_type = 26;
|
||||||
|
|||||||
Reference in New Issue
Block a user