adding rightsourceip=%poolname properly to peer config

This commit is contained in:
Martin Willi 2008-04-17 08:55:32 +00:00
parent 4904d26120
commit e5617e40d1
1 changed files with 2 additions and 1 deletions

View File

@ -511,7 +511,8 @@ static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this,
msg->add_conn.eap_type, msg->add_conn.eap_vendor,
msg->add_conn.rekey.tries, rekey, reauth, jitter, over,
msg->add_conn.mobike, msg->add_conn.dpd.delay,
vip, msg->add_conn.other.sourceip_size ? msg->add_conn.name : NULL,
vip, msg->add_conn.other.sourceip_size ?
msg->add_conn.name : msg->add_conn.other.sourceip,
msg->add_conn.ikeme.mediation, mediated_by, peer_id);
}