starter: Store mode of the IPsec SA/policy in a separate member.

This commit is contained in:
Tobias Brunner
2012-06-11 17:33:30 +02:00
parent f82365ad27
commit 6d065f14ae
4 changed files with 32 additions and 51 deletions
+3
View File
@@ -18,6 +18,7 @@
#include <freeswan.h>
#include "../pluto/constants.h"
#include <kernel/kernel_ipsec.h>
#include "ipsec-parser.h"
@@ -116,6 +117,8 @@ struct starter_conn {
char *aaa_identity;
char *xauth_identity;
char *authby;
ipsec_mode_t mode;
bool proxy_mode;
lset_t policy;
time_t sa_ike_life_seconds;
time_t sa_ipsec_life_seconds;