Initiate IKE_ANY configurations with IKEv2
This commit is contained in:
@@ -2042,6 +2042,11 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id, bool initiator,
|
|||||||
private_ike_sa_t *this;
|
private_ike_sa_t *this;
|
||||||
static u_int32_t unique_id = 0;
|
static u_int32_t unique_id = 0;
|
||||||
|
|
||||||
|
if (version != IKEV1)
|
||||||
|
{
|
||||||
|
version = IKEV2;
|
||||||
|
}
|
||||||
|
|
||||||
INIT(this,
|
INIT(this,
|
||||||
.public = {
|
.public = {
|
||||||
.get_version = _get_version,
|
.get_version = _get_version,
|
||||||
|
|||||||
Reference in New Issue
Block a user