reuse reqid when a ROUTED child_sa gets INSTALLED
fixed a bug in retransmission code added support for the "keyingtries" ipsec.conf parameter added support for the "dpddelay" ipsec.conf parameter done some work for "dpdaction" behavior some other cleanups and fixes
This commit is contained in:
@@ -109,6 +109,11 @@ struct private_policy_t {
|
||||
*/
|
||||
u_int32_t jitter;
|
||||
|
||||
/**
|
||||
* Should the SA get ROUTED when peer detected as dead?
|
||||
*/
|
||||
bool dpd_route;
|
||||
|
||||
/**
|
||||
* logger
|
||||
*/
|
||||
@@ -441,7 +446,7 @@ static void destroy(private_policy_t *this)
|
||||
*/
|
||||
policy_t *policy_create(char *name, identification_t *my_id, identification_t *other_id,
|
||||
u_int32_t hard_lifetime, u_int32_t soft_lifetime,
|
||||
u_int32_t jitter, char *updown)
|
||||
u_int32_t jitter, char *updown, bool dpd_route)
|
||||
{
|
||||
private_policy_t *this = malloc_thing(private_policy_t);
|
||||
|
||||
@@ -473,6 +478,7 @@ policy_t *policy_create(char *name, identification_t *my_id, identification_t *o
|
||||
this->soft_lifetime = soft_lifetime;
|
||||
this->jitter = jitter;
|
||||
this->updown = (updown == NULL) ? NULL : strdup(updown);
|
||||
this->dpd_route = dpd_route;
|
||||
|
||||
/* initialize private members*/
|
||||
this->refcount = 1;
|
||||
|
||||
Reference in New Issue
Block a user