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/maemo/maemo_service.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/maemo/maemo_service.c')
-rw-r--r-- | src/libcharon/plugins/maemo/maemo_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/maemo/maemo_service.c b/src/libcharon/plugins/maemo/maemo_service.c index c7eac2973..dca01fbaa 100644 --- a/src/libcharon/plugins/maemo/maemo_service.c +++ b/src/libcharon/plugins/maemo/maemo_service.c @@ -328,7 +328,7 @@ static gboolean initiate_connection(private_maemo_service_t *this, hostname, FALSE, IKEV2_UDP_PORT); ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE)); - peer_cfg = peer_cfg_create(this->current, IKEV2, ike_cfg, + peer_cfg = peer_cfg_create(this->current, ike_cfg, CERT_SEND_IF_ASKED, UNIQUE_REPLACE, 1, /* keyingtries */ 36000, 0, /* rekey 10h, reauth none */ |