fixed mod_syslog.c on solaris since there is no LOF_FTP and LOG_AUTHPRIV in solaris syslog

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15606 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michal Bielicki 2009-11-22 22:30:50 +00:00
parent 6074f2bc27
commit 8ccdcf5482
1 changed files with 3 additions and 1 deletions

View 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 },