full support of ikev1 and ikev2 connection flags
This commit is contained in:
@@ -846,6 +846,9 @@ main(int argc, char **argv)
|
||||
msg.ike = NULL;
|
||||
msg.pfsgroup = NULL;
|
||||
|
||||
/* if a connection is added via whack then we assume IKEv1 */
|
||||
msg.ikev1 = TRUE;
|
||||
|
||||
msg.sa_ike_life_seconds = OAKLEY_ISAKMP_SA_LIFETIME_DEFAULT;
|
||||
msg.sa_ipsec_life_seconds = PLUTO_SA_LIFE_DURATION_DEFAULT;
|
||||
msg.sa_rekey_margin = SA_REPLACEMENT_MARGIN_DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user