ikev2: Fix spelling of routability

References strongswan/strongswan#164.
This commit is contained in:
Josh Soref 2020-02-05 04:13:22 -05:00 committed by Tobias Brunner
parent b3ab7a48cc
commit d30498edf1
2 changed files with 6 additions and 6 deletions

View File

@ -406,15 +406,15 @@ METHOD(task_manager_t, retransmit, status_t,
}
else if (mobike->is_probing(mobike))
{
timeout = ROUTEABILITY_CHECK_INTERVAL;
timeout = ROUTABILITY_CHECK_INTERVAL;
}
}
}
else
{ /* for routeability checks, we use a more aggressive behavior */
if (this->initiating.retransmitted <= ROUTEABILITY_CHECK_TRIES)
{ /* for routability checks, we use a more aggressive behavior */
if (this->initiating.retransmitted <= ROUTABILITY_CHECK_TRIES)
{
timeout = ROUTEABILITY_CHECK_INTERVAL;
timeout = ROUTABILITY_CHECK_INTERVAL;
}
else
{

View File

@ -55,12 +55,12 @@ typedef enum task_queue_t task_queue_t;
/**
* Interval for mobike routability checks in ms.
*/
#define ROUTEABILITY_CHECK_INTERVAL 2500
#define ROUTABILITY_CHECK_INTERVAL 2500
/**
* Number of routability checks before giving up
*/
#define ROUTEABILITY_CHECK_TRIES 10
#define ROUTABILITY_CHECK_TRIES 10
/**
* Type of task queues the task manager uses to handle tasks