diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-05-02 22:53:45 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-05-02 22:53:45 +0200 |
commit | e4ae891983ce990c0a169d574891cb12e252fb28 (patch) | |
tree | d7cf9e463cfdcc927e689571ff3491aca920deaa /src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c | |
parent | 6c5873d4483f3e3078b6ae7a6fd829b4304677ee (diff) | |
download | strongswan-e4ae891983ce990c0a169d574891cb12e252fb28.tar.bz2 strongswan-e4ae891983ce990c0a169d574891cb12e252fb28.tar.xz |
updated tnc-pdp plugin for 5.0.0
Diffstat (limited to 'src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c')
-rw-r--r-- | src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c b/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c index 175a57aba..0abda8d5b 100644 --- a/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c +++ b/src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c @@ -114,8 +114,8 @@ METHOD(tnc_pdp_connections_t, add, void, ike_sa_t *ike_sa; bool found = FALSE; - ike_sa_id = ike_sa_id_create(0, 0, FALSE); - ike_sa = ike_sa_create(ike_sa_id); + ike_sa_id = ike_sa_id_create(IKEV2_MAJOR_VERSION, 0, 0, FALSE); + ike_sa = ike_sa_create(ike_sa_id, FALSE, IKEV2); ike_sa_id->destroy(ike_sa_id); ike_sa->set_other_id(ike_sa, peer); |