From: Tobias Brunner Date: Thu, 2 Jun 2016 13:24:36 +0000 (+0200) Subject: ike: Reduce RETRY_INTERVAL a bit X-Git-Tag: 5.5.0dr1~4^2~8 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e2e7d4fecdc583827b8ce7c8429f4d4bce8df0d;p=thirdparty%2Fstrongswan.git ike: Reduce RETRY_INTERVAL a bit Retry exchanges between 5 and 15 seconds after a temporary failure. --- diff --git a/src/libcharon/sa/ike_sa.h b/src/libcharon/sa/ike_sa.h index 199a32c98c..596399d2df 100644 --- a/src/libcharon/sa/ike_sa.h +++ b/src/libcharon/sa/ike_sa.h @@ -58,12 +58,12 @@ typedef struct ike_sa_t ike_sa_t; /** * After which time rekeying should be retried if it failed, in seconds. */ -#define RETRY_INTERVAL 30 +#define RETRY_INTERVAL 15 /** * Jitter to subtract from RETRY_INTERVAL to randomize rekey retry. */ -#define RETRY_JITTER 20 +#define RETRY_JITTER 10 /** * Number of redirects allowed within REDIRECT_LOOP_DETECT_PERIOD.