]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't print TACACS+ packets as RADIUS... they're not.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 11 Aug 2017 12:39:05 +0000 (14:39 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 11 Aug 2017 12:39:05 +0000 (14:39 +0200)
src/modules/proto_tacacs/tacacs.c

index 8c530611607c1e3bb4afa4af936d42a6fe253e37..0a2f544fabca34684cd9b84dac4e9bbcd58fd5fa 100644 (file)
@@ -872,10 +872,6 @@ int tacacs_read_packet(RADIUS_PACKET * const packet, char const * const secret)
                return -1;
        }
 
-#ifndef NDEBUG
-       if ((fr_debug_lvl > 3) && fr_log_fp) fr_radius_print_hex(packet);
-#endif
-
        /*
         *      See if it's a well-formed TACACS packet.
         */
@@ -950,10 +946,6 @@ int tacacs_send(RADIUS_PACKET * const packet, RADIUS_PACKET const * const origin
                return -1;
        }
 
-#ifndef NDEBUG
-       if ((fr_debug_lvl > 3) && fr_log_fp) fr_radius_print_hex(packet);
-#endif
-
        rad_assert(tacacs_ok(packet, false) == true);
 
        if (tacacs_xor(packet, secret) < 0) {