diff options
author | Martin Willi <martin@strongswan.org> | 2006-09-08 06:12:02 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-09-08 06:12:02 +0000 |
commit | 1239c6f40b9940a9b15d514a72e93dae323c6c04 (patch) | |
tree | 321f264870d7d746ce5789c20cf4feaef733448c /src/charon/sa/transactions/ike_auth.c | |
parent | a655f5c09c2ba180b7d393dbdfc8b8057293d9ab (diff) | |
download | strongswan-1239c6f40b9940a9b15d514a72e93dae323c6c04.tar.bz2 strongswan-1239c6f40b9940a9b15d514a72e93dae323c6c04.tar.xz |
implemented handling of dpdaction and dpddelay ipsec.conf parameters
Diffstat (limited to 'src/charon/sa/transactions/ike_auth.c')
-rw-r--r-- | src/charon/sa/transactions/ike_auth.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/charon/sa/transactions/ike_auth.c b/src/charon/sa/transactions/ike_auth.c index 1d15daebb..0632fe421 100644 --- a/src/charon/sa/transactions/ike_auth.c +++ b/src/charon/sa/transactions/ike_auth.c @@ -312,12 +312,15 @@ static status_t get_request(private_ike_auth_t *this, message_t **result) linked_list_t *proposal_list; sa_payload_t *sa_payload; u_int32_t soft_lifetime, hard_lifetime; + bool enable_natt; proposal_list = this->policy->get_proposals(this->policy); soft_lifetime = this->policy->get_soft_lifetime(this->policy); hard_lifetime = this->policy->get_hard_lifetime(this->policy); - this->child_sa = child_sa_create(this->reqid, me, other, soft_lifetime, hard_lifetime, - this->ike_sa->is_natt_enabled(this->ike_sa)); + enable_natt = this->ike_sa->is_natt_enabled(this->ike_sa); + this->child_sa = child_sa_create(this->reqid, me, other, + soft_lifetime, hard_lifetime, + enable_natt); this->child_sa->set_name(this->child_sa, this->policy->get_name(this->policy)); if (this->child_sa->alloc(this->child_sa, proposal_list) != SUCCESS) { |