Don't add ANY identity constraint to auth config, as XAuth rounds don't use one

This commit is contained in:
Martin Willi
2012-07-26 12:38:34 +02:00
parent 9191946a63
commit 874f7c7e2c
2 changed files with 15 additions and 3 deletions
+7 -2
View File
@@ -338,8 +338,13 @@ static void log_auth_cfgs(FILE *out, peer_cfg_t *peer_cfg, bool local)
enumerator = peer_cfg->create_auth_cfg_enumerator(peer_cfg, local);
while (enumerator->enumerate(enumerator, &auth))
{
fprintf(out, "%12s: %s [%Y] uses ", name, local ? "local: " : "remote:",
auth->get(auth, AUTH_RULE_IDENTITY));
fprintf(out, "%12s: %s", name, local ? "local: " : "remote:");
id = auth->get(auth, AUTH_RULE_IDENTITY);
if (id)
{
fprintf(out, " [%Y]", id);
}
fprintf(out, " uses ");
auth_class = (uintptr_t)auth->get(auth, AUTH_RULE_AUTH_CLASS);
if (auth_class == AUTH_CLASS_EAP)