projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37f88b
)
bugfix stats request
author
it-eddy
<it-eddy@users.noreply.github.com>
Tue, 9 Aug 2016 12:28:57 +0000
(14:28 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 10 Aug 2016 15:00:20 +0000
(17:00 +0200)
bugfix for stats request to server for specific client (accounting).
bit matrix was evaluated at wrong position.
src/main/stats.c
patch
|
blob
|
history
diff --git
a/src/main/stats.c
b/src/main/stats.c
index
0067d36
..
8305e44
100644
(file)
--- a/
src/main/stats.c
+++ b/
src/main/stats.c
@@
-656,7
+656,7
@@
void request_stats_reply(REQUEST *request)
&client->auth);
}
#ifdef WITH_ACCOUNTING
- if ((flag->vp_integer & 0x0
1
) != 0) {
+ if ((flag->vp_integer & 0x0
2
) != 0) {
request_stats_addvp(request, client_acctvp,
&client->acct);
}