From ba093e813dc9eb484bd53f35a2089ab31d489ef8 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 15 Oct 2000 01:05:57 +0000 Subject: [PATCH] Use rad_acct_open() instead of rad_auth_open(). Suggested by: Victor Ivanov --- usr.sbin/ppp/radius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ppp/radius.c b/usr.sbin/ppp/radius.c index f247043398a..37323fcae4d 100644 --- a/usr.sbin/ppp/radius.c +++ b/usr.sbin/ppp/radius.c @@ -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; }