Remove superfluous test for peer_cfg on established IKE_SAs

This commit is contained in:
Martin Willi 2011-04-20 12:31:29 +02:00
parent 94c0e8346a
commit 52846ec820
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ static status_t build_r(private_ike_config_t *this, message_t *message)
id = this->ike_sa->get_other_eap_id(this->ike_sa);
config = this->ike_sa->get_peer_cfg(this->ike_sa);
if (config && this->virtual_ip)
if (this->virtual_ip)
{
DBG1(DBG_IKE, "peer requested virtual IP %H", this->virtual_ip);
if (config->get_pool(config))