aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-09-25 06:11:36 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-09-25 06:11:36 +0000
commit7bd23b7ed5ef8c8a65eada18b4fa4fb97b4fa00e (patch)
treed8ebc07ce44aeb353bfbb85d0134c1752adbaba7 /src
parentb826069dbb9209137ffce76c51dba802b33a43f4 (diff)
downloadstrongswan-7bd23b7ed5ef8c8a65eada18b4fa4fb97b4fa00e.tar.bz2
strongswan-7bd23b7ed5ef8c8a65eada18b4fa4fb97b4fa00e.tar.xz
added hostaccess support
Diffstat (limited to 'src')
-rw-r--r--src/charon/sa/transactions/create_child_sa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon/sa/transactions/create_child_sa.c b/src/charon/sa/transactions/create_child_sa.c
index 154a8e800..ccd25dd0e 100644
--- a/src/charon/sa/transactions/create_child_sa.c
+++ b/src/charon/sa/transactions/create_child_sa.c
@@ -302,6 +302,7 @@ static status_t get_request(private_create_child_sa_t *this, message_t **result)
this->policy->get_soft_lifetime(this->policy),
this->policy->get_hard_lifetime(this->policy),
this->policy->get_updown(this->policy),
+ this->policy->get_hostaccess(this->policy),
use_natt);
this->child_sa->set_name(this->child_sa, this->policy->get_name(this->policy));
if (this->child_sa->alloc(this->child_sa, proposals) != SUCCESS)
@@ -717,6 +718,7 @@ static status_t get_response(private_create_child_sa_t *this, message_t *request
this->child_sa = child_sa_create(this->reqid, me, other, my_id, other_id,
soft_lifetime, hard_lifetime,
this->policy->get_updown(this->policy),
+ this->policy->get_hostaccess(this->policy),
use_natt);
this->child_sa->set_name(this->child_sa, this->policy->get_name(this->policy));
if (install_child_sa(this, FALSE) != SUCCESS)