Revert "these messages don't need to go to the main radiusd.log"
authorAlan T. DeKok <aland@freeradius.org>
Tue, 18 Apr 2017 15:31:10 +0000 (11:31 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 18 Apr 2017 16:08:39 +0000 (12:08 -0400)
This reverts commit 1f1a02baae35080b4037af88c709ef6c0ccdd2d7.

src/modules/rlm_eap/types/rlm_eap_peap/peap.c

index c0e21f4..801bd7c 100644 (file)
@@ -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;