adding plugin for EAP-MS-CHAPv2
[strongswan.git] / src / starter / confread.c
index 9528f6a..8bfc6fe 100644 (file)
@@ -621,6 +621,10 @@ load_conn(starter_conn_t *conn, kw_list_t *kw, starter_config_t *cfg)
                        {
                                conn->eap_type = 6;
                        }
                        {
                                conn->eap_type = 6;
                        }
+                       else if (streq(kw->value, "mschapv2"))
+                       {
+                               conn->eap_type = 26;
+                       }
                        else
                        {
                                conn->eap_type = atoi(kw->value);
                        else
                        {
                                conn->eap_type = atoi(kw->value);