mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
Send accounting start packet if log radius is enabled
This commit is contained in:
parent
b15d5bf681
commit
5fa261e91e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user