From: Josh Soref Date: Wed, 5 Feb 2020 09:13:22 +0000 (-0500) Subject: ikev2: Fix spelling of routability X-Git-Tag: 5.8.3dr1~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d30498edf1ebda4c6f49dab8192a632b871cc7da;p=thirdparty%2Fstrongswan.git ikev2: Fix spelling of routability References strongswan/strongswan#164. --- diff --git a/src/libcharon/sa/ikev2/task_manager_v2.c b/src/libcharon/sa/ikev2/task_manager_v2.c index 6bafd42e0d..09b824a750 100644 --- a/src/libcharon/sa/ikev2/task_manager_v2.c +++ b/src/libcharon/sa/ikev2/task_manager_v2.c @@ -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 { diff --git a/src/libcharon/sa/task_manager.h b/src/libcharon/sa/task_manager.h index 4d17f949ad..d84acf4ed7 100644 --- a/src/libcharon/sa/task_manager.h +++ b/src/libcharon/sa/task_manager.h @@ -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