]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Better debugging
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 15 Jul 2018 02:15:18 +0000 (22:15 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 15 Jul 2018 02:33:50 +0000 (22:33 -0400)
src/lib/server/request.c

index 838e380ddae2c6e22eb2ebd387acb9f66ce0fccd..2683459fc2957bb73eac35a6f7bfa23df6719ce3 100644 (file)
@@ -406,7 +406,11 @@ int request_data_add(REQUEST *request, void const *unique_ptr, int unique_int, v
 
        *last = this;
 
-       RDEBUG4("Added request data %p at %p:%i", this->opaque, this->unique_ptr, this->unique_int);
+       RDEBUG4("Added request data %p at %p:%i, free_on_replace: %s, free_on_parent: %s, persist: %s",
+               this->opaque, this->unique_ptr, this->unique_int,
+               free_on_replace ? "yes" : "no",
+               free_on_parent ? "yes" : "no",
+               persist ? "yes" : "no");
 
        return 0;
 }