vici: Use a default child rekey time of 1 hour

This commit is contained in:
Martin Willi
2014-05-07 14:13:38 +02:00
parent 046befeca5
commit 585814470d
+6
View File
@@ -36,6 +36,11 @@
*/ */
#define LFT_DEFAULT_IKE_REKEY (4 * 60 * 60) #define LFT_DEFAULT_IKE_REKEY (4 * 60 * 60)
/**
* Default CHILD rekey time
*/
#define LFT_DEFAULT_CHILD_REKEY (1 * 60 * 60)
typedef struct private_vici_config_t private_vici_config_t; typedef struct private_vici_config_t private_vici_config_t;
/** /**
@@ -1278,6 +1283,7 @@ CALLBACK(children_sn, bool,
.start_action = ACTION_NONE, .start_action = ACTION_NONE,
.lft = { .lft = {
.time = { .time = {
.rekey = LFT_DEFAULT_CHILD_REKEY,
.life = LFT_UNDEFINED, .life = LFT_UNDEFINED,
.jitter = LFT_UNDEFINED, .jitter = LFT_UNDEFINED,
}, },