From: Martin Willi Date: Tue, 29 Apr 2014 09:18:42 +0000 (+0200) Subject: vici: Use a default child rekey time of 1 hour X-Git-Tag: 5.2.0dr3~9^2~16 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=585814470d65608a57c1d30c259a7f58ab67b947 vici: Use a default child rekey time of 1 hour --- diff --git a/src/libcharon/plugins/vici/vici_config.c b/src/libcharon/plugins/vici/vici_config.c index d0b95b8..bf6f88f 100644 --- a/src/libcharon/plugins/vici/vici_config.c +++ b/src/libcharon/plugins/vici/vici_config.c @@ -36,6 +36,11 @@ */ #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; /** @@ -1278,6 +1283,7 @@ CALLBACK(children_sn, bool, .start_action = ACTION_NONE, .lft = { .time = { + .rekey = LFT_DEFAULT_CHILD_REKEY, .life = LFT_UNDEFINED, .jitter = LFT_UNDEFINED, },