Added enum name for MAIN_MODE task
authorMartin Willi <martin@revosec.ch>
Fri, 18 Nov 2011 09:55:23 +0000 (10:55 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:30:43 +0000 (17:30 +0100)
src/libcharon/sa/tasks/task.c

index 0d73831..fae9c7b 100644 (file)
@@ -17,7 +17,7 @@
 #include "task.h"
 
 #ifdef ME
-ENUM(task_type_names, IKE_INIT, CHILD_REKEY,
+ENUM(task_type_names, IKE_INIT, MAIN_MODE,
        "IKE_INIT",
        "IKE_NATD",
        "IKE_MOBIKE",
@@ -35,9 +35,10 @@ ENUM(task_type_names, IKE_INIT, CHILD_REKEY,
        "CHILD_CREATE",
        "CHILD_DELETE",
        "CHILD_REKEY",
+       "MAIN_MODE",
 );
 #else
-ENUM(task_type_names, IKE_INIT, CHILD_REKEY,
+ENUM(task_type_names, IKE_INIT, MAIN_MODE,
        "IKE_INIT",
        "IKE_NATD",
        "IKE_MOBIKE",
@@ -54,5 +55,6 @@ ENUM(task_type_names, IKE_INIT, CHILD_REKEY,
        "CHILD_CREATE",
        "CHILD_DELETE",
        "CHILD_REKEY",
+       "MAIN_MODE",
 );
 #endif /* ME */