summaryrefslogtreecommitdiff
path: root/log-server.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-11-29 13:51:06 +1100
committerDamien Miller <djm@mindrot.org>2000-11-29 13:51:06 +1100
commit6dbfef63559c7ac29aa7a3fe27a12d814fbd0e83 (patch)
treeee88fd5735db038026558924022c21dacec5d1ff /log-server.c
parenta19cf47b0fa5cd16c1e471792109ce06023c9757 (diff)
- (djm) Add Redhat RPM patch for AUTHPRIV SyslogFacility
Diffstat (limited to 'log-server.c')
-rw-r--r--log-server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/log-server.c b/log-server.c
index de3d5cfe..943c3141 100644
--- a/log-server.c
+++ b/log-server.c
@@ -82,6 +82,11 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
case SYSLOG_FACILITY_AUTH:
log_facility = LOG_AUTH;
break;
+#ifdef LOG_AUTHPRIV
+ case SYSLOG_FACILITY_AUTHPRIV:
+ log_facility = LOG_AUTHPRIV;
+ break;
+#endif
case SYSLOG_FACILITY_LOCAL0:
log_facility = LOG_LOCAL0;
break;