ike-sa-manager: Migrate child creating tasks during IKEv1 reauth
authorTobias Brunner <tobias@strongswan.org>
Tue, 20 Nov 2018 09:49:07 +0000 (10:49 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 7 Dec 2018 09:32:12 +0000 (10:32 +0100)
src/libcharon/sa/ike_sa_manager.c

index c50c708..3bac4b1 100644 (file)
@@ -1967,6 +1967,8 @@ static void adopt_children_and_vips(ike_sa_t *old, ike_sa_t *new)
        }
        enumerator->destroy(enumerator);
 
+       new->adopt_child_tasks(new, old);
+
        enumerator = old->create_virtual_ip_enumerator(old, FALSE);
        while (enumerator->enumerate(enumerator, &vip))
        {