From: Alan T. DeKok Date: Fri, 11 Aug 2017 12:39:05 +0000 (+0200) Subject: don't print TACACS+ packets as RADIUS... they're not. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=633e92f20bf00a4a88a5b516df74b5ecec71ffde;p=thirdparty%2Ffreeradius-server.git don't print TACACS+ packets as RADIUS... they're not. --- diff --git a/src/modules/proto_tacacs/tacacs.c b/src/modules/proto_tacacs/tacacs.c index 8c530611607..0a2f544fabc 100644 --- a/src/modules/proto_tacacs/tacacs.c +++ b/src/modules/proto_tacacs/tacacs.c @@ -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) {