IKEv1 XAuth: Fix XAuth task so that it reinitiates.
authorClavister OpenSource <opensource@clavister.com>
Fri, 25 Nov 2011 07:45:42 +0000 (08:45 +0100)
committerClavister OpenSource <opensource@clavister.com>
Tue, 20 Mar 2012 16:31:07 +0000 (17:31 +0100)
src/libcharon/sa/task_manager_v1.c

index 65bab99..e672879 100644 (file)
@@ -320,6 +320,10 @@ METHOD(task_manager_t, initiate, status_t,
                                case TASK_QUICK_MODE:
                                        exchange = QUICK_MODE;
                                        break;
+                               case TASK_XAUTH_REQUEST:
+                                       exchange = TRANSACTION;
+                                       new_mid = TRUE;
+                                       break;
                                default:
                                        continue;
                        }