Project

General

Profile

Actions

Bug #866

closed

1.4.3: src/util-syslog.c: Solaris doesn't have LOG_AUTHPRIV or LOG_FTP

Added by Mark Solaris almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Solaris doesn't define LOG_AUTHPRIV or LOG_FTP so we need to substitute them with useful alternatives.

--- suricata-1.4.3/src/util-syslog.c.orig       Tue Jul  9 12:59:58 2013
+++ suricata-1.4.3/src/util-syslog.c    Tue Jul  9 13:01:57 2013
@@ -25,6 +25,12 @@
  */

 #include "suricata-common.h" 
+#if !defined(LOG_AUTHPRIV)
+#  define LOG_AUTHPRIV LOG_AUTH
+#endif
+#if !defined(LOG_FTP)
+#  define LOG_FTP LOG_DAEMON
+#endif

 /* holds the string-enum mapping for the syslog facility in SCLogOPIfaceCtx */
 SCEnumCharMap sc_syslog_facility_map[] = {
Actions #1

Updated by Victor Julien over 10 years ago

  • Target version set to TBD
Actions #2

Updated by Andreas Herz over 8 years ago

  • Status changed from New to Closed
Actions #3

Updated by Victor Julien over 6 years ago

  • Target version deleted (TBD)
Actions

Also available in: Atom PDF