]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_radius: There's a macro for that...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 6 Apr 2020 02:25:24 +0000 (21:25 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 6 Apr 2020 19:19:59 +0000 (14:19 -0500)
src/modules/rlm_radius/rlm_radius_udp.c

index a760c5ce030481e14f9523b67aae9a5fadcd585b..d3ebe389ca1ecf87003d5a6eddf410a12b497145 100644 (file)
@@ -1114,10 +1114,7 @@ static decode_fail_t decode(TALLOC_CTX *ctx, VALUE_PAIR **reply, uint8_t *respon
                return reason;
        }
 
-       if (RDEBUG_ENABLED3) {
-               RDEBUG3("Read packet");
-               fr_log_hex(&default_log, L_DBG, __FILE__, __LINE__, data, packet_len, NULL);
-       }
+       RHEXDUMP3(data, packet_len, "Read packet");
 
        original[0] = u->code;
        original[1] = 0;                        /* not looked at by fr_radius_verify() */