diff options
author | torstenb <torstenb@FreeBSD.org> | 2002-09-20 20:31:30 +0000 |
---|---|---|
committer | torstenb <torstenb@FreeBSD.org> | 2002-09-20 20:31:30 +0000 |
commit | 61bb5a1d467af83386a413c093147b51ad317777 (patch) | |
tree | c98cc3fbd9f7f573f903a37c58af1a608df01a37 /net/tac_plus-libradius/files/patch-ac | |
parent | 1e461722b5c57f3e8eb5a4234a44e400b66a1bcf (diff) | |
download | FreeBSD-ports-61bb5a1d467af83386a413c093147b51ad317777.zip FreeBSD-ports-61bb5a1d467af83386a413c093147b51ad317777.tar.gz |
A tacacs server with (limited) radius proxy support.
Submitted by: Martin Mersberger <gremlin@portal-to-web.de>
Diffstat (limited to 'net/tac_plus-libradius/files/patch-ac')
-rw-r--r-- | net/tac_plus-libradius/files/patch-ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/tac_plus-libradius/files/patch-ac b/net/tac_plus-libradius/files/patch-ac new file mode 100644 index 0000000..851f6c8 --- /dev/null +++ b/net/tac_plus-libradius/files/patch-ac @@ -0,0 +1,19 @@ +*** do_acct.c Mon Dec 18 17:58:02 2000 +--- do_acct.c Sat Jan 19 15:22:46 2002 +*************** +*** 159,165 **** + #endif + entry.ut_time = utime; + +! wtmpfd = open(wtmpfile, O_CREAT | O_WRONLY | O_APPEND | O_SYNC, 0644); + if (wtmpfd < 0) { + report(LOG_ERR, "Can't open wtmp file %s -- %s", + wtmpfile, sys_errlist[errno]); +--- 159,165 ---- + #endif + entry.ut_time = utime; + +! wtmpfd = open(wtmpfile, O_CREAT | O_WRONLY | O_APPEND , 0644); + if (wtmpfd < 0) { + report(LOG_ERR, "Can't open wtmp file %s -- %s", + wtmpfile, sys_errlist[errno]); |