Merge branch 'ikev1'
Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/encoding/generator.c src/libcharon/encoding/payloads/notify_payload.c src/libcharon/encoding/payloads/notify_payload.h src/libcharon/encoding/payloads/payload.c src/libcharon/network/receiver.c src/libcharon/sa/authenticator.c src/libcharon/sa/authenticator.h src/libcharon/sa/ikev2/tasks/ike_init.c src/libcharon/sa/task_manager.c src/libstrongswan/credentials/auth_cfg.c
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
typedef struct eap_radius_t eap_radius_t;
|
||||
|
||||
#include <sa/authenticators/eap/eap_method.h>
|
||||
#include <sa/eap/eap_method.h>
|
||||
|
||||
/**
|
||||
* Implementation of the eap_method_t interface using a RADIUS server.
|
||||
|
||||
@@ -271,10 +271,10 @@ METHOD(listener_t, ike_updown, bool,
|
||||
|
||||
METHOD(listener_t, message_hook, bool,
|
||||
private_eap_radius_accounting_t *this, ike_sa_t *ike_sa,
|
||||
message_t *message, bool incoming)
|
||||
message_t *message, bool incoming, bool plain)
|
||||
{
|
||||
/* start accounting here, virtual IP now is set */
|
||||
if (ike_sa->get_state(ike_sa) == IKE_ESTABLISHED &&
|
||||
if (plain && ike_sa->get_state(ike_sa) == IKE_ESTABLISHED &&
|
||||
message->get_exchange_type(message) == IKE_AUTH &&
|
||||
!incoming && !message->get_request(message))
|
||||
{
|
||||
|
||||
@@ -319,11 +319,11 @@ void eap_radius_forward_to_ike(radius_message_t *response)
|
||||
|
||||
METHOD(listener_t, message, bool,
|
||||
private_eap_radius_forward_t *this,
|
||||
ike_sa_t *ike_sa, message_t *message, bool incoming)
|
||||
ike_sa_t *ike_sa, message_t *message, bool incoming, bool plain)
|
||||
{
|
||||
linked_list_t *queue;
|
||||
|
||||
if (message->get_exchange_type(message) == IKE_AUTH)
|
||||
if (plain && message->get_exchange_type(message) == IKE_AUTH)
|
||||
{
|
||||
if (incoming)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user