resolving hosts before route
authorMartin Willi <martin@strongswan.org>
Mon, 23 Jun 2008 08:30:35 +0000 (08:30 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 23 Jun 2008 08:30:35 +0000 (08:30 -0000)
src/charon/sa/ike_sa.c

index 7214a26..898771f 100644 (file)
@@ -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,