Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -122,7 +122,7 @@ enum alert_t {
|
||||
ALERT_INSTALL_CHILD_POLICY_FAILED,
|
||||
/** IKE_SA deleted because of "replace" unique policy, no argument */
|
||||
ALERT_UNIQUE_REPLACE,
|
||||
/** IKE_SA deleted because of "keep" unique policy, no arguement */
|
||||
/** IKE_SA deleted because of "keep" unique policy, no argument */
|
||||
ALERT_UNIQUE_KEEP,
|
||||
/** IKE_SA kept on failed child SA establishment, no argument */
|
||||
ALERT_KEEP_ON_CHILD_SA_FAILURE,
|
||||
|
||||
@@ -72,7 +72,7 @@ enum exchange_type_t{
|
||||
AUTH_ONLY = 3,
|
||||
|
||||
/**
|
||||
* Aggresive (Aggressive mode)
|
||||
* Aggressive (Aggressive mode)
|
||||
*/
|
||||
AGGRESSIVE = 4,
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ METHOD(listener_t, ike_rekey, bool,
|
||||
{
|
||||
/* During IKE_SA rekey, the unique identifier changes. Fire update events
|
||||
* and update the cached entry. During the invocation of this hook, the
|
||||
* virutal IPs have been migrated to new, hence remove that entry. */
|
||||
* virtual IPs have been migrated to new, hence remove that entry. */
|
||||
remove_entry(this, new);
|
||||
add_entry(this, new);
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ static bool add_include(private_unity_handler_t *this, chunk_t subnet)
|
||||
}
|
||||
|
||||
/**
|
||||
* Rempve a subnet from the inclusion list for this IKE_SA
|
||||
* Remove a subnet from the inclusion list for this IKE_SA
|
||||
*/
|
||||
static bool remove_include(private_unity_handler_t *this, chunk_t subnet)
|
||||
{
|
||||
|
||||
@@ -385,7 +385,7 @@ METHOD(task_t, process_r, status_t,
|
||||
switch (message->get_exchange_type(message))
|
||||
{
|
||||
case AGGRESSIVE:
|
||||
{ /* proccess NAT-D payloads in the second request, already added ours
|
||||
{ /* process NAT-D payloads in the second request, already added ours
|
||||
* in the first response */
|
||||
result = SUCCESS;
|
||||
/* fall */
|
||||
|
||||
@@ -1163,7 +1163,7 @@ METHOD(task_t, process_i, status_t,
|
||||
break;
|
||||
}
|
||||
|
||||
/* check for erronous notifies */
|
||||
/* check for erroneous notifies */
|
||||
enumerator = message->create_payload_enumerator(message);
|
||||
while (enumerator->enumerate(enumerator, &payload))
|
||||
{
|
||||
|
||||
@@ -426,7 +426,7 @@ METHOD(task_t, process_i, status_t,
|
||||
enumerator_t *enumerator;
|
||||
payload_t *payload;
|
||||
|
||||
/* check for erronous notifies */
|
||||
/* check for erroneous notifies */
|
||||
enumerator = message->create_payload_enumerator(message);
|
||||
while (enumerator->enumerate(enumerator, &payload))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user