vici: Handle "xauth" as an alias for "eap" secrets

This commit is contained in:
Martin Willi 2014-05-06 10:59:55 +02:00
parent bc006ac1f4
commit 41745e24f3
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ CALLBACK(load_shared, vici_message_t*,
{
type = SHARED_IKE;
}
else if (strcaseeq(str, "eap"))
else if (strcaseeq(str, "eap") || streq(str, "xauth"))
{
type = SHARED_EAP;
}