]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print out full value of VP
authorAlan T. DeKok <aland@freeradius.org>
Tue, 16 Jul 2024 21:51:59 +0000 (17:51 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 16 Jul 2024 21:51:59 +0000 (17:51 -0400)
src/main/auth.c

index 2dc3e602322c8dc1e61ac64f350834b37ce6613d..d9dfc9505c27033850e8557ddc316351860837f4 100644 (file)
@@ -591,8 +591,13 @@ autz_redo:
                          ((tmp = fr_pair_find_by_num(request->config, PW_PACKET_DST_IP_ADDRESS, 0, TAG_ANY)) != NULL) ||
                          ((tmp = fr_pair_find_by_num(request->config, PW_PACKET_DST_IPV6_ADDRESS, 0, TAG_ANY)) != NULL) ||
                          ((tmp = fr_pair_find_by_num(request->config, PW_HOME_SERVER_NAME, 0, TAG_ANY)) != NULL)) {
-                       RDEBUG("Proxying due to %s", tmp->da->name);
-                       return RLM_MODULE_OK;
+                       if (RDEBUG_ENABLED) {
+                               char buffer[512];
+
+                               vp_prints(buffer, sizeof(buffer), tmp);
+                               RDEBUG("Proxying due to %s", buffer);
+                               return RLM_MODULE_OK;
+                       }
                }
        }