From e5617e40d12320c0d44bdf99336564895b9af0e1 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 17 Apr 2008 08:55:32 +0000 Subject: [PATCH] adding rightsourceip=%poolname properly to peer config --- src/charon/plugins/stroke/stroke_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }