mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Send accounting start packet if log radius is enabled
This commit is contained in:
1 parent
b15d5bf681
commit
5fa261e91e
1 file changed
+4
-1
+4
-1
@@ -655,8 +655,11 @@ CLEANRET:
|
|||||||
}
|
}
|
||||||
|
|
||||||
int radauth(struct clientparam * param){
|
int radauth(struct clientparam * param){
|
||||||
|
int res;
|
||||||
/*radsend(param, 0, 0);*/
|
/*radsend(param, 0, 0);*/
|
||||||
return radsend(param, 1, 0);
|
res = radsend(param, 1, 0);
|
||||||
|
if(!res && param->srv->logfunc == logradius)radsend(param, 0, 0);
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void logradius(struct clientparam * param, const unsigned char *s) {
|
void logradius(struct clientparam * param, const unsigned char *s) {
|
||||||
|
|||||||
Reference in new issue
Block a user