Clear initiator flag when checking out initial IKEv1 SA from message
This commit is contained in:
1 parent
8bcd9bd161
commit
a0fa7a7f64
1 file changed
+4
@@ -997,6 +997,10 @@ METHOD(ike_sa_manager_t, checkout_by_message, ike_sa_t*,
|
||||
{
|
||||
ike_version = IKEV1;
|
||||
is_init = TRUE;
|
||||
if (id->is_initiator(id))
|
||||
{ /* not set in IKEv1, switch back before applying to new SA */
|
||||
id->switch_initiator(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user