vici: Accept XAUTH as shared key type too

Fixes #2481.
This commit is contained in:
Tobias Brunner 2017-11-29 14:21:56 +01:00
parent 9a71b7219c
commit 859d645c44

View File

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