ikev2: Fix spelling of routability
References strongswan/strongswan#164.
This commit is contained in:
committed by
Tobias Brunner
parent
b3ab7a48cc
commit
d30498edf1
@@ -406,15 +406,15 @@ METHOD(task_manager_t, retransmit, status_t,
|
|||||||
}
|
}
|
||||||
else if (mobike->is_probing(mobike))
|
else if (mobike->is_probing(mobike))
|
||||||
{
|
{
|
||||||
timeout = ROUTEABILITY_CHECK_INTERVAL;
|
timeout = ROUTABILITY_CHECK_INTERVAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ /* for routeability checks, we use a more aggressive behavior */
|
{ /* for routability checks, we use a more aggressive behavior */
|
||||||
if (this->initiating.retransmitted <= ROUTEABILITY_CHECK_TRIES)
|
if (this->initiating.retransmitted <= ROUTABILITY_CHECK_TRIES)
|
||||||
{
|
{
|
||||||
timeout = ROUTEABILITY_CHECK_INTERVAL;
|
timeout = ROUTABILITY_CHECK_INTERVAL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -55,12 +55,12 @@ typedef enum task_queue_t task_queue_t;
|
|||||||
/**
|
/**
|
||||||
* Interval for mobike routability checks in ms.
|
* Interval for mobike routability checks in ms.
|
||||||
*/
|
*/
|
||||||
#define ROUTEABILITY_CHECK_INTERVAL 2500
|
#define ROUTABILITY_CHECK_INTERVAL 2500
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Number of routability checks before giving up
|
* 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
|
* Type of task queues the task manager uses to handle tasks
|
||||||
|
|||||||
Reference in New Issue
Block a user