ike: Reduce RETRY_INTERVAL a bit

Retry exchanges between 5 and 15 seconds after a temporary failure.
This commit is contained in:
Tobias Brunner 2016-06-02 15:24:36 +02:00
parent 2045cadc1c
commit 4e2e7d4fec
1 changed files with 2 additions and 2 deletions

View File

@ -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.