From b00f9f0773523b06bbcdd959d7e766a9b840d2eb Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 18 Apr 2017 11:31:10 -0400 Subject: [PATCH] Revert "these messages don't need to go to the main radiusd.log" This reverts commit 1f1a02baae35080b4037af88c709ef6c0ccdd2d7. --- src/modules/rlm_eap/types/rlm_eap_peap/peap.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/modules/rlm_eap/types/rlm_eap_peap/peap.c b/src/modules/rlm_eap/types/rlm_eap_peap/peap.c index c0e21f4..801bd7c 100644 --- a/src/modules/rlm_eap/types/rlm_eap_peap/peap.c +++ b/src/modules/rlm_eap/types/rlm_eap_peap/peap.c @@ -893,15 +893,13 @@ rlm_rcode_t eappeap_process(eap_handler_t *handler, tls_session_t *tls_session, * Supplicant ACKs our failure. */ case PEAP_STATUS_SENT_TLV_FAILURE: - if (rad_debug_lvl) { - RINDENT(); - REDEBUG("The users session was previously rejected: returning reject (again.)"); - RIDEBUG("This means you need to read the PREVIOUS messages in the debug output"); - RIDEBUG("to find out the reason why the user was rejected"); - RIDEBUG("Look for \"reject\" or \"fail\". Those earlier messages will tell you"); - RIDEBUG("what went wrong, and how to fix the problem"); - REXDENT(); - } + RINDENT(); + REDEBUG("The users session was previously rejected: returning reject (again.)"); + RIDEBUG("This means you need to read the PREVIOUS messages in the debug output"); + RIDEBUG("to find out the reason why the user was rejected"); + RIDEBUG("Look for \"reject\" or \"fail\". Those earlier messages will tell you"); + RIDEBUG("what went wrong, and how to fix the problem"); + REXDENT(); return RLM_MODULE_REJECT; -- 2.1.4