Skip to content

Commit

Permalink
ikev2: Fix spelling of routability
Browse files Browse the repository at this point in the history
References #164.
  • Loading branch information
jsoref authored and tobiasbrunner committed Feb 11, 2020
1 parent b3ab7a4 commit d30498e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/libcharon/sa/ikev2/task_manager_v2.c
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/libcharon/sa/task_manager.h
Expand Up @@ -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
Expand Down

0 comments on commit d30498e

Please sign in to comment.