aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/sa/tasks/child_create.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-04-09 12:54:47 +0000
committerMartin Willi <martin@strongswan.org>2008-04-09 12:54:47 +0000
commitcdcfe777f4cec7906a28fd2ef57d24ec3290902f (patch)
treec225288c98e84133eb392499ce842004e249f816 /src/charon/sa/tasks/child_create.c
parent4a96521965fd1ab21f4e37bb848b6509d912b9a7 (diff)
downloadstrongswan-cdcfe777f4cec7906a28fd2ef57d24ec3290902f.tar.bz2
strongswan-cdcfe777f4cec7906a28fd2ef57d24ec3290902f.tar.xz
implementation of an CFG attribute framework, currently supporting virtual IPs
updated ipsec.conf sourceip parameter to support CIDR notatation to serve from a pool %poolname to query a separate (database?) pool
Diffstat (limited to 'src/charon/sa/tasks/child_create.c')
-rw-r--r--src/charon/sa/tasks/child_create.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/charon/sa/tasks/child_create.c b/src/charon/sa/tasks/child_create.c
index 8b711e8f3..f4f814308 100644
--- a/src/charon/sa/tasks/child_create.c
+++ b/src/charon/sa/tasks/child_create.c
@@ -535,11 +535,10 @@ static status_t build_i(private_child_create_t *this, message_t *message)
if (!this->reqid)
{
peer_cfg = this->ike_sa->get_peer_cfg(this->ike_sa);
- vip = peer_cfg->get_my_virtual_ip(peer_cfg);
+ vip = peer_cfg->get_virtual_ip(peer_cfg);
if (vip)
{
propose_all = TRUE;
- vip->destroy(vip);
}
}