projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
486a8de
)
don't print out IP addresses for detail packets
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 25 Jan 2017 21:11:37 +0000
(16:11 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 25 Jan 2017 21:11:37 +0000
(16:11 -0500)
src/main/process.c
patch
|
blob
|
history
diff --git
a/src/main/process.c
b/src/main/process.c
index
5ec16e6
..
c5a6906
100644
(file)
--- a/
src/main/process.c
+++ b/
src/main/process.c
@@
-415,6
+415,14
@@
static void debug_packet(REQUEST *request, RADIUS_PACKET *packet, bool received)
if (!packet) return;
if (!RDEBUG_ENABLED) return;
+#ifdef WITH_DETAIL
+ /*
+ * Don't print IP addresses for detail files.
+ */
+ if (request->listener &&
+ (request->listener->type == RAD_LISTEN_DETAIL)) return;
+
+#endif
/*
* Client-specific debugging re-prints the input
* packet into the client log.