Send accounting start packet if log radius is enabled

This commit is contained in:
z3apa3a 2021-07-02 18:38:21 +03:00
parent b15d5bf681
commit 5fa261e91e

View File

@ -655,8 +655,11 @@ CLEANRET:
}
int radauth(struct clientparam * param){
int res;
/*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) {