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 6bafd42..09b824a 100644 (file)
@@ -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 */
-                       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
                        {
                        }
                        else
                        {
index 4d17f94..d84acf4 100644 (file)
@@ -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