Use rad_acct_open() instead of rad_auth_open().

Suggested by: Victor Ivanov <v0rbiz@icon.bg>
This commit is contained in:
brian 2000-10-15 01:05:57 +00:00
parent 1d71e8b7ce
commit 5ac0f571f0

View File

@ -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;
}