resolving hosts before route
[strongswan.git] / 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,