Support resolution of "allow_any" DNS names in charon (%hostname)

This commit is contained in:
Martin Willi
2011-09-02 13:42:45 +02:00
parent f9a0f55657
commit 40921edc38
-3
View File
@@ -246,11 +246,8 @@ static void kw_end(starter_conn_t *conn, starter_end_t *end, kw_token_t token,
goto err; goto err;
} }
} }
if (!end->allow_any)
{
end->host = clone_str(value); end->host = clone_str(value);
} }
}
break; break;
case KW_SUBNET: case KW_SUBNET:
if ((strlen(value) >= 6 && strncmp(value,"vhost:",6) == 0) if ((strlen(value) >= 6 && strncmp(value,"vhost:",6) == 0)