Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -31,7 +31,7 @@ typedef enum mem_pool_op_t mem_pool_op_t;
|
||||
* In-memory IP pool acquire operation.
|
||||
*/
|
||||
enum mem_pool_op_t {
|
||||
/** Check for an exsiting lease */
|
||||
/** Check for an existing lease */
|
||||
MEM_POOL_EXISTING,
|
||||
/** Get a new lease */
|
||||
MEM_POOL_NEW,
|
||||
|
||||
@@ -126,12 +126,12 @@ struct private_peer_cfg_t {
|
||||
uint32_t over_time;
|
||||
|
||||
/**
|
||||
* DPD check intervall
|
||||
* DPD check interval
|
||||
*/
|
||||
uint32_t dpd;
|
||||
|
||||
/**
|
||||
* DPD timeout intervall (used for IKEv1 only)
|
||||
* DPD timeout interval (used for IKEv1 only)
|
||||
*/
|
||||
uint32_t dpd_timeout;
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ static void enable_disable(private_ha_kernel_t *this, u_int segment,
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the currenlty active segments in the kernel for a clusterip file
|
||||
* Get the currently active segments in the kernel for a clusterip file
|
||||
*/
|
||||
static segment_mask_t get_active(private_ha_kernel_t *this, char *file)
|
||||
{
|
||||
|
||||
@@ -2739,7 +2739,7 @@ METHOD(kernel_ipsec_t, add_policy, status_t,
|
||||
if (update && current_sa)
|
||||
{ /* check if there are actually any relevant changes, if not, we don't
|
||||
* send an update to the kernel as e.g. FreeBSD doesn't do that
|
||||
* atomically, causing unecessary traffic loss during rekeyings */
|
||||
* atomically, causing unnecessary traffic loss during rekeyings */
|
||||
update = policy_update_required(current_sa, assigned_sa);
|
||||
}
|
||||
|
||||
@@ -2948,7 +2948,7 @@ METHOD(kernel_ipsec_t, del_policy, status_t,
|
||||
if (is_installed)
|
||||
{ /* check if there are actually any relevant changes, if not, we do
|
||||
* not send an update to the kernel as e.g. FreeBSD doesn't do that
|
||||
* atomically, causing unecessary traffic loss during rekeyings */
|
||||
* atomically, causing unnecessary traffic loss during rekeyings */
|
||||
policy->used_by->get_first(policy->used_by, (void**)&mapping);
|
||||
is_installed = policy_update_required(mapping, to_remove);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ struct init_listener_t {
|
||||
hashtable_t *initiated;
|
||||
|
||||
/**
|
||||
* IKE_SAs we have completed to initate (success or failure)
|
||||
* IKE_SAs we have completed to initiate (success or failure)
|
||||
*/
|
||||
hashtable_t *completed;
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ static void save_auth_cfg(private_phase1_t *this,
|
||||
return;
|
||||
}
|
||||
auth = auth_cfg_create();
|
||||
/* for local config, we _copy_ entires from the config, as it contains
|
||||
/* for local config, we _copy_ entries from the config, as it contains
|
||||
* certificates we must send later. */
|
||||
auth->merge(auth, this->ike_sa->get_auth_cfg(this->ike_sa, local), local);
|
||||
this->ike_sa->add_auth_cfg(this->ike_sa, local, auth);
|
||||
|
||||
@@ -59,7 +59,7 @@ struct private_isakmp_vendor_t {
|
||||
ike_sa_t *ike_sa;
|
||||
|
||||
/**
|
||||
* Are we the inititator of this task
|
||||
* Are we the initiator of this task
|
||||
*/
|
||||
bool initiator;
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ struct private_task_manager_t {
|
||||
array_t *packets;
|
||||
|
||||
/**
|
||||
* type of the initated exchange
|
||||
* type of the initiated exchange
|
||||
*/
|
||||
exchange_type_t type;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ struct ike_auth_lifetime_t {
|
||||
* Create a new TASK_IKE_AUTH_LIFETIME task.
|
||||
*
|
||||
* @param ike_sa IKE_SA this task works for
|
||||
* @param initiator TRUE if taks is initiated by us
|
||||
* @param initiator TRUE if task is initiated by us
|
||||
* @return ike_auth_lifetime task to handle by the task_manager
|
||||
*/
|
||||
ike_auth_lifetime_t *ike_auth_lifetime_create(ike_sa_t *ike_sa, bool initiator);
|
||||
|
||||
@@ -91,7 +91,7 @@ struct ike_mobike_t {
|
||||
* Create a new ike_mobike task.
|
||||
*
|
||||
* @param ike_sa IKE_SA this task works for
|
||||
* @param initiator TRUE if taks is initiated by us
|
||||
* @param initiator TRUE if task is initiated by us
|
||||
* @return ike_mobike task to handle by the task_manager
|
||||
*/
|
||||
ike_mobike_t *ike_mobike_create(ike_sa_t *ike_sa, bool initiator);
|
||||
|
||||
@@ -59,7 +59,7 @@ struct private_ike_vendor_t {
|
||||
ike_sa_t *ike_sa;
|
||||
|
||||
/**
|
||||
* Are we the inititator of this task
|
||||
* Are we the initiator of this task
|
||||
*/
|
||||
bool initiator;
|
||||
};
|
||||
|
||||
@@ -115,7 +115,7 @@ extern enum_name_t *task_type_names;
|
||||
/**
|
||||
* Interface for a task, an operation handled within exchanges.
|
||||
*
|
||||
* A task is an elemantary operation. It may be handled by a single or by
|
||||
* A task is an elementary operation. It may be handled by a single or by
|
||||
* multiple exchanges. An exchange may even complete multiple tasks.
|
||||
* A task has a build() and an process() operation. The build() operation
|
||||
* creates payloads and adds it to the message. The process() operation
|
||||
@@ -128,7 +128,7 @@ extern enum_name_t *task_type_names;
|
||||
* that the task completed, even when the task completed unsuccessfully. The
|
||||
* manager then removes the task from the list. A NEED_MORE is returned when
|
||||
* the task needs further build()/process() calls to complete, the manager
|
||||
* leaves the taks in the queue. A returned FAILED indicates a critical failure.
|
||||
* leaves the task in the queue. A returned FAILED indicates a critical failure.
|
||||
* The manager closes the IKE_SA whenever a task returns FAILED.
|
||||
*/
|
||||
struct task_t {
|
||||
@@ -180,7 +180,7 @@ struct task_t {
|
||||
* Migrate a task to a new IKE_SA.
|
||||
*
|
||||
* After migrating a task, it goes back to a state where it can be
|
||||
* used again to initate an exchange. This is useful when a task
|
||||
* used again to initiate an exchange. This is useful when a task
|
||||
* has to get migrated to a new IKE_SA.
|
||||
* A special usage is when a INVALID_KE_PAYLOAD is received. A call
|
||||
* to reset resets the task, but uses another DH group for the next
|
||||
|
||||
Reference in New Issue
Block a user