18 lines
632 B
Plaintext
18 lines
632 B
Plaintext
$OpenBSD: patch-src_acct_c,v 1.6 2004/07/12 13:32:11 danh Exp $
|
|
--- src/acct.c.orig Thu Jul 3 04:09:04 2003
|
|
+++ src/acct.c Mon Jul 12 08:29:22 2004
|
|
@@ -958,11 +958,11 @@ static int rad_check_ts(struct radutmp *
|
|
|
|
s = CHECKRAD2;
|
|
execl(CHECKRAD2, "checkrad", nas->nastype, address, port,
|
|
- ut->login, session_id, framed_ip, NULL);
|
|
+ ut->login, session_id, framed_ip, (void *)NULL);
|
|
if (errno == ENOENT) {
|
|
s = CHECKRAD1;
|
|
execl(CHECKRAD1, "checkrad", nas->nastype, address, port,
|
|
- ut->login, session_id, NULL);
|
|
+ ut->login, session_id, (void *)NULL);
|
|
}
|
|
log(L_ERR, "Check-TS: exec %s: %s", s, strerror(errno));
|
|
|