updated tnc-pdp plugin for 5.0.0

This commit is contained in:
Andreas Steffen 2012-05-02 22:53:45 +02:00
parent 6c5873d448
commit e4ae891983
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
#include <pen/pen.h>
#include <threading/thread.h>
#include <processing/jobs/callback_job.h>
#include <sa/authenticators/eap/eap_method.h>
#include <sa/eap/eap_method.h>
typedef struct private_tnc_pdp_t private_tnc_pdp_t;

View File

@ -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);

View File

@ -25,7 +25,7 @@ typedef struct tnc_pdp_connections_t tnc_pdp_connections_t;
#include <library.h>
#include <sa/ike_sa.h>
#include <sa/authenticators/eap/eap_method.h>
#include <sa/eap/eap_method.h>
/**
* Public interface of a tnc_pdp_connections object