mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
updated tnc-pdp plugin for 5.0.0
This commit is contained in:
parent
6c5873d448
commit
e4ae891983
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user