diff options
author | Martin Willi <martin@revosec.ch> | 2012-10-16 14:31:02 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-10-24 10:19:33 +0200 |
commit | 1fdd62ffcea8835f61be5ee38e9ce2ebc6d00f94 (patch) | |
tree | bb4b8e8ad374f13bbd21c5bba0f60373d7d1349f /src/libcharon/plugins/stroke/stroke_config.c | |
parent | 9fc7cc6f9ba2b557a547630bd1643974b7a09d8f (diff) | |
download | strongswan-1fdd62ffcea8835f61be5ee38e9ce2ebc6d00f94.tar.bz2 strongswan-1fdd62ffcea8835f61be5ee38e9ce2ebc6d00f94.tar.xz |
Remove version argument on peer_cfg constructor, use ike_cfg version instead
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_config.c')
-rw-r--r-- | src/libcharon/plugins/stroke/stroke_config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_config.c b/src/libcharon/plugins/stroke/stroke_config.c index ef7682be6..0d3684d6d 100644 --- a/src/libcharon/plugins/stroke/stroke_config.c +++ b/src/libcharon/plugins/stroke/stroke_config.c @@ -708,8 +708,7 @@ static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this, /* other.sourceip is managed in stroke_attributes. If it is set, we define * the pool name as the connection name, which the attribute provider * uses to serve pool addresses. */ - peer_cfg = peer_cfg_create(msg->add_conn.name, - msg->add_conn.version, ike_cfg, + peer_cfg = peer_cfg_create(msg->add_conn.name, ike_cfg, msg->add_conn.me.sendcert, unique, msg->add_conn.rekey.tries, rekey, reauth, jitter, over, msg->add_conn.mobike, msg->add_conn.aggressive, |