]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fixed mod_syslog.c on solaris since there is no LOF_FTP and LOG_AUTHPRIV in solaris...
authorMichal Bielicki <michal.bielicki@seventhsignal.de>
Sun, 22 Nov 2009 22:30:50 +0000 (22:30 +0000)
committerMichal Bielicki <michal.bielicki@seventhsignal.de>
Sun, 22 Nov 2009 22:30:50 +0000 (22:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15606 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/loggers/mod_syslog/mod_syslog.c

index c131d19e0e711c7715a2c101855c38d5a5db2814..de87e86064542d02c2dfa4ef25c527c955595a49 100644 (file)
@@ -64,10 +64,12 @@ switch_status_t set_global_facility(const char *facility)
 {
        const struct _facility_table_entry facilities[] = {
                { "auth",     LOG_AUTH     },
+ #if !defined (__SVR4) && !defined (__sun)
                { "authpriv", LOG_AUTHPRIV },
+                { "ftp",      LOG_FTP      },
+#endif
                { "cron",     LOG_CRON     },
                { "daemon",   LOG_DAEMON   },
-               { "ftp",      LOG_FTP      },
                { "kern",     LOG_KERN     },
                { "local0",   LOG_LOCAL0   },
                { "local1",   LOG_LOCAL1   },