]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
controller: Don't listen for CHILD_SA state changes when terminating IKE_SAs
authorTobias Brunner <tobias@strongswan.org>
Thu, 2 Mar 2017 07:58:07 +0000 (08:58 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 2 Mar 2017 08:10:48 +0000 (09:10 +0100)
We actually want to wait until the IKE_SA is destroyed, not any of the
CHILD_SAs (even though there might not be that much of a difference
depending on the number of CHILD_SAs).

Fixes #2261.

src/libcharon/control/controller.c

index 93ff70bf3665e37547b371f37f19024bbfd033ad..8e7816b396710fd80266e50e827e2153e5ccb838 100644 (file)
@@ -588,7 +588,6 @@ METHOD(controller_t, terminate_ike, status_t,
                .listener = {
                        .public = {
                                .ike_state_change = _ike_state_change_terminate,
-                               .child_state_change = _child_state_change_terminate,
                        },
                        .logger = {
                                .public = {