ikev1: Activate task to delete the IKE_SA in state IKE_REKEYING
authorTobias Brunner <tobias@strongswan.org>
Thu, 25 Aug 2016 07:56:45 +0000 (09:56 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 4 Oct 2016 08:14:43 +0000 (10:14 +0200)
It does not have any CHILD_SAs attached at that point.

src/libcharon/sa/ikev1/task_manager_v1.c

index 082afae..37112b3 100644 (file)
@@ -547,6 +547,14 @@ METHOD(task_manager_t, initiate, status_t,
                                        break;
                                }
                                break;
+                       case IKE_REKEYING:
+                               if (activate_task(this, TASK_ISAKMP_DELETE))
+                               {
+                                       exchange = INFORMATIONAL_V1;
+                                       new_mid = TRUE;
+                                       break;
+                               }
+                               break;
                        default:
                                break;
                }