]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ikev2: Maintain labels during make-before-break reauthentication
authorTobias Brunner <tobias@strongswan.org>
Wed, 20 Apr 2022 12:45:41 +0000 (14:45 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 20 Apr 2022 12:45:41 +0000 (14:45 +0200)
src/libcharon/sa/ikev2/task_manager_v2.c

index 555fb86c72a21aac89bfc6345d4dd2e9c20f5f2b..f70768fa8138aa09da9189dc126c099ae4f81780 100644 (file)
@@ -1946,6 +1946,7 @@ static void trigger_mbb_reauth(private_task_manager_t *this)
                child_create->use_marks(child_create,
                                                                child_sa->get_mark(child_sa, TRUE).value,
                                                                child_sa->get_mark(child_sa, FALSE).value);
+               child_create->use_label(child_create, child_sa->get_label(child_sa));
                /* interface IDs are not migrated as the new CHILD_SAs on old and new
                 * IKE_SA go though regular updown events */
                new->queue_task(new, &child_create->task);