ikev2: fix reply during rekey

Type: fix

Change-Id: If87f4b8ae92508215fe91178958fe2ddb91e5a35
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
(cherry picked from commit 68ad6258374201ba8f0dc052e6f44d6250555249)
This commit is contained in:
Filip Tehlar
2020-10-30 05:28:11 +00:00
committed by Andrew Yourtchenko
parent 31b44a7a13
commit f6deabd4fc
2 changed files with 190 additions and 42 deletions

View File

@ -3152,7 +3152,7 @@ ikev2_node_internal (vlib_main_t * vm,
ikev2_create_tunnel_interface (vm, sa0, child, p[0], ikev2_create_tunnel_interface (vm, sa0, child, p[0],
child - sa0->childs, 1); child - sa0->childs, 1);
} }
if (sa0->is_initiator) if (ike_hdr_is_response (ike0))
{ {
vec_free (sa0->rekey); vec_free (sa0->rekey);
} }

File diff suppressed because it is too large Load Diff