Use rad_acct_open() instead of rad_auth_open().
Suggested by: Victor Ivanov <v0rbiz@icon.bg>
This commit is contained in:
parent
1d71e8b7ce
commit
5ac0f571f0
@ -496,7 +496,7 @@ radius_Account(struct radius *r, struct radacct *ac, struct datalink *dl,
|
||||
|
||||
radius_Destroy(r);
|
||||
|
||||
if ((r->cx.rad = rad_auth_open()) == NULL) {
|
||||
if ((r->cx.rad = rad_acct_open()) == NULL) {
|
||||
log_Printf(LogERROR, "rad_auth_open: %s\n", strerror(errno));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user