From 7bd23b7ed5ef8c8a65eada18b4fa4fb97b4fa00e Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Mon, 25 Sep 2006 06:11:36 +0000 Subject: [PATCH] added hostaccess support --- src/charon/sa/transactions/create_child_sa.c | 2 ++ 1 file changed, 2 insertions(+) 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)