Do not ignore configs for IKEv1 in charon anymore

This commit is contained in:
Martin Willi
2012-03-20 17:30:43 +01:00
parent 558f79f76d
commit cf1772f685
6 changed files with 8 additions and 49 deletions
+1 -1
View File
@@ -466,7 +466,7 @@ static void handle_dns_failure(const char *label, starter_end_t *end,
plog("# fallback to %s=%%any due to '%%' prefix or %sallowany=yes",
label, label);
}
else if (!end->host || conn->keyexchange == KEY_EXCHANGE_IKEV1)
else if (!end->host)
{
/* declare an error */
cfg->err++;