projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d451a5d
)
Don't do counters for Status-Server. Fixes #612
author
Alan T. DeKok
<aland@freeradius.org>
Sat, 26 Apr 2014 14:22:45 +0000
(10:22 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Sat, 26 Apr 2014 14:22:45 +0000
(10:22 -0400)
src/main/stats.c
patch
|
blob
|
history
diff --git
a/src/main/stats.c
b/src/main/stats.c
index
6b7779c
..
8a0dbdb
100644
(file)
--- a/
src/main/stats.c
+++ b/
src/main/stats.c
@@
-77,7
+77,7
@@
void request_stats_final(REQUEST *request)
* deleted, because only the main server thread calls
* this function, which makes it thread-safe.
*/
- switch (request->reply->code) {
+
if (request->reply && (request->packet->code != PW_STATUS_SERVER))
switch (request->reply->code) {
case PW_AUTHENTICATION_ACK:
INC_AUTH(total_responses);
INC_AUTH(total_access_accepts);