aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-04-17 08:55:32 +0000
committerMartin Willi <martin@strongswan.org>2008-04-17 08:55:32 +0000
commite5617e40d12320c0d44bdf99336564895b9af0e1 (patch)
tree053c3f091ce3bd42388f53ed75feb889a46a65ac /src
parent4904d26120d3214f09d570ea489931bed953891e (diff)
downloadstrongswan-e5617e40d12320c0d44bdf99336564895b9af0e1.tar.bz2
strongswan-e5617e40d12320c0d44bdf99336564895b9af0e1.tar.xz
adding rightsourceip=%poolname properly to peer config
Diffstat (limited to 'src')
-rw-r--r--src/charon/plugins/stroke/stroke_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charon/plugins/stroke/stroke_config.c b/src/charon/plugins/stroke/stroke_config.c
index 11278b578..622fa33b1 100644
--- a/src/charon/plugins/stroke/stroke_config.c
+++ b/src/charon/plugins/stroke/stroke_config.c
@@ -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);
}