projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b252f
)
Istead of checking for date type check for acct-session-time in accounting
author
kkalev
<kkalev>
Thu, 5 Sep 2002 19:47:55 +0000
(19:47 +0000)
committer
kkalev
<kkalev>
Thu, 5 Sep 2002 19:47:55 +0000
(19:47 +0000)
src/modules/rlm_counter/rlm_counter.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_counter/rlm_counter.c
b/src/modules/rlm_counter/rlm_counter.c
index
df64f12
..
828dfaf
100644
(file)
--- a/
src/modules/rlm_counter/rlm_counter.c
+++ b/
src/modules/rlm_counter/rlm_counter.c
@@
-549,7
+549,7
@@
static int counter_accounting(void *instance, REQUEST *request)
free(count_datum.dptr);
}
- if (
count_vp->type == PW_TYPE_DAT
E) {
+ if (
data->count_attr == PW_ACCT_SESSION_TIM
E) {
/*
* If session time < diff then the user got in after the
* last reset. So add his session time, otherwise add the