aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/medsrv/medsrv_config.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-10-16 14:31:02 +0200
committerMartin Willi <martin@revosec.ch>2012-10-24 10:19:33 +0200
commit1fdd62ffcea8835f61be5ee38e9ce2ebc6d00f94 (patch)
treebb4b8e8ad374f13bbd21c5bba0f60373d7d1349f /src/libcharon/plugins/medsrv/medsrv_config.c
parent9fc7cc6f9ba2b557a547630bd1643974b7a09d8f (diff)
downloadstrongswan-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/medsrv/medsrv_config.c')
-rw-r--r--src/libcharon/plugins/medsrv/medsrv_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/medsrv/medsrv_config.c b/src/libcharon/plugins/medsrv/medsrv_config.c
index a3dada69a..a2d7489f4 100644
--- a/src/libcharon/plugins/medsrv/medsrv_config.c
+++ b/src/libcharon/plugins/medsrv/medsrv_config.c
@@ -88,7 +88,7 @@ METHOD(backend_t, create_peer_cfg_enumerator, enumerator_t*,
if (e->enumerate(e, &name))
{
peer_cfg = peer_cfg_create(
- name, IKEV2, this->ike->get_ref(this->ike),
+ name, this->ike->get_ref(this->ike),
CERT_NEVER_SEND, UNIQUE_REPLACE,
1, this->rekey*60, 0, /* keytries, rekey, reauth */
this->rekey*5, this->rekey*3, /* jitter, overtime */