aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-06-23 08:30:35 +0000
committerMartin Willi <martin@strongswan.org>2008-06-23 08:30:35 +0000
commite9ab669bc2f0a3377a58b08a3b5227c0a951d9d4 (patch)
tree613eac827fe5bd454764f1d5761ee486c2c21f77 /src
parent7f6d8d5172de2be11b2da54a99a361e5bcf1a8e1 (diff)
downloadstrongswan-e9ab669bc2f0a3377a58b08a3b5227c0a951d9d4.tar.bz2
strongswan-e9ab669bc2f0a3377a58b08a3b5227c0a951d9d4.tar.xz
resolving hosts before route
Diffstat (limited to 'src')
-rw-r--r--src/charon/sa/ike_sa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon/sa/ike_sa.c b/src/charon/sa/ike_sa.c
index 7214a26b4..898771f16 100644
--- a/src/charon/sa/ike_sa.c
+++ b/src/charon/sa/ike_sa.c
@@ -1233,6 +1233,8 @@ static status_t route(private_ike_sa_t *this, child_cfg_t *child_cfg)
default:
break;
}
+
+ resolve_hosts(this);
/* install kernel policies */
child_sa = child_sa_create(this->my_host, this->other_host, this->my_id,