]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ikev2: Fix spelling of routability
authorJosh Soref <jsoref@users.noreply.github.com>
Wed, 5 Feb 2020 09:13:22 +0000 (04:13 -0500)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Feb 2020 17:23:34 +0000 (18:23 +0100)
References strongswan/strongswan#164.

src/libcharon/sa/ikev2/task_manager_v2.c
src/libcharon/sa/task_manager.h

index 6bafd42e0d8119a9a1f7e08d4fe64a443ec8065e..09b824a750733bf8efbc59d3474a387e6bdc657c 100644 (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
                        {
index 4d17f949adb056233985d68807e977ee1e3792cb..d84acf4ed700062c03f3fa188de6b2f0facfc917 100644 (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