From 67f18684ac0c3d03747294d46836ede2587d72cd Mon Sep 17 00:00:00 2001 From: James Rouzier Date: Mon, 19 Sep 2016 12:31:45 -0400 Subject: [PATCH] Use the proper eap version --- src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c b/src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c index 24b2bef..be9c92f 100644 --- a/src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c +++ b/src/modules/rlm_eap/types/rlm_eap_fast/rlm_eap_fast.c @@ -441,7 +441,7 @@ static int mod_process(void *arg, eap_handler_t *handler) switch (rcode) { case PW_CODE_ACCESS_REJECT: RDEBUG("Reject"); - eaptls_fail(handler, 0); + eaptls_fail(handler, EAP_FAST_VERSION); return 0; /* @@ -467,7 +467,7 @@ static int mod_process(void *arg, eap_handler_t *handler) } else if (t->use_tunneled_reply) { RDEBUG2("No saved attributes in the original Access-Accept"); } - return eaptls_success(handler, 0); + return eaptls_success(handler, EAP_FAST_VERSION); /* * No response packet, MUST be proxying it. @@ -488,7 +488,7 @@ static int mod_process(void *arg, eap_handler_t *handler) /* * Something we don't understand: Reject it. */ - eaptls_fail(handler, 0); + eaptls_fail(handler, EAP_FAST_VERSION); return 0; } -- 2.1.4