mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 00:02:05 +00:00
- (djm) Fix up LOG_AUTHPRIV for systems that have it
This commit is contained in:
parent
53f11c60b1
commit
30246a8f2b
@ -170,6 +170,7 @@
|
||||
list SSH2 ciphers
|
||||
- (bal) Put HAVE_PW_CLASS_IN_PASSWD back into pwcopy()
|
||||
- (bal) Fix up logging since it changed. removed log-*.c
|
||||
- (djm) Fix up LOG_AUTHPRIV for systems that have it
|
||||
|
||||
20010304
|
||||
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
|
||||
@ -4362,4 +4363,4 @@
|
||||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.905 2001/03/05 08:16:54 mouring Exp $
|
||||
$Id: ChangeLog,v 1.906 2001/03/05 10:23:31 djm Exp $
|
||||
|
13
log.c
13
log.c
@ -57,6 +57,9 @@ static struct {
|
||||
{ "DAEMON", SYSLOG_FACILITY_DAEMON },
|
||||
{ "USER", SYSLOG_FACILITY_USER },
|
||||
{ "AUTH", SYSLOG_FACILITY_AUTH },
|
||||
#ifdef LOG_AUTHPRIV
|
||||
{ "AUTHPRIV", SYSLOG_FACILITY_AUTHPRIV },
|
||||
#endif
|
||||
{ "LOCAL0", SYSLOG_FACILITY_LOCAL0 },
|
||||
{ "LOCAL1", SYSLOG_FACILITY_LOCAL1 },
|
||||
{ "LOCAL2", SYSLOG_FACILITY_LOCAL2 },
|
||||
@ -284,12 +287,10 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
|
||||
case SYSLOG_FACILITY_AUTH:
|
||||
log_facility = LOG_AUTH;
|
||||
break;
|
||||
#if 0 /* This is broken. =) - BAL */
|
||||
#ifdef LOG_AUTHPRIV /** BAL: Verify */
|
||||
case SYSLOG_FACILITY_AUTHPRIV
|
||||
log_facility = AUTHPRIV;
|
||||
break
|
||||
#endif
|
||||
#ifdef LOG_AUTHPRIV
|
||||
case SYSLOG_FACILITY_AUTHPRIV:
|
||||
log_facility = LOG_AUTHPRIV;
|
||||
break;
|
||||
#endif
|
||||
case SYSLOG_FACILITY_LOCAL0:
|
||||
log_facility = LOG_LOCAL0;
|
||||
|
Loading…
Reference in New Issue
Block a user