Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user