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
committed by
Andrew Yourtchenko
parent
31b44a7a13
commit
f6deabd4fc
@ -3152,7 +3152,7 @@ ikev2_node_internal (vlib_main_t * vm,
|
||||
ikev2_create_tunnel_interface (vm, sa0, child, p[0],
|
||||
child - sa0->childs, 1);
|
||||
}
|
||||
if (sa0->is_initiator)
|
||||
if (ike_hdr_is_response (ike0))
|
||||
{
|
||||
vec_free (sa0->rekey);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user