a (incomplete) implementation of draft-sheffer-ikev2-gtc-00.txt using PAM
[strongswan.git] / src / starter / confread.c
index 914024d..1b3f31a 100644 (file)
@@ -588,6 +588,10 @@ load_conn(starter_conn_t *conn, kw_list_t *kw, starter_config_t *cfg)
                        {
                                conn->eap_type = 4;
                        }
+                       else if (streq(kw->value, "gtc"))
+                       {
+                               conn->eap_type = 6;
+                       }
                        else
                        {
                                conn->eap_type = atoi(kw->value);