Query for XAuth identity in get_other_eap_id(), too
This commit is contained in:
@@ -1182,6 +1182,10 @@ METHOD(ike_sa_t, get_other_eap_id, identification_t*,
|
|||||||
/* prefer EAP-Identity of last round */
|
/* prefer EAP-Identity of last round */
|
||||||
current = cfg->get(cfg, AUTH_RULE_EAP_IDENTITY);
|
current = cfg->get(cfg, AUTH_RULE_EAP_IDENTITY);
|
||||||
if (!current || current->get_type(current) == ID_ANY)
|
if (!current || current->get_type(current) == ID_ANY)
|
||||||
|
{
|
||||||
|
current = cfg->get(cfg, AUTH_RULE_XAUTH_IDENTITY);
|
||||||
|
}
|
||||||
|
if (!current || current->get_type(current) == ID_ANY)
|
||||||
{
|
{
|
||||||
current = cfg->get(cfg, AUTH_RULE_IDENTITY);
|
current = cfg->get(cfg, AUTH_RULE_IDENTITY);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user