Initiate IKE_ANY configurations with IKEv2

This commit is contained in:
Martin Willi
2012-03-20 17:31:25 +01:00
parent ac009df132
commit ef175c92d9
+5
View File
@@ -2042,6 +2042,11 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id, bool initiator,
private_ike_sa_t *this;
static u_int32_t unique_id = 0;
if (version != IKEV1)
{
version = IKEV2;
}
INIT(this,
.public = {
.get_version = _get_version,