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:
parent
6074f2bc27
commit
8ccdcf5482
|
@ -64,10 +64,12 @@ switch_status_t set_global_facility(const char *facility)
|
||||||
{
|
{
|
||||||
const struct _facility_table_entry facilities[] = {
|
const struct _facility_table_entry facilities[] = {
|
||||||
{ "auth", LOG_AUTH },
|
{ "auth", LOG_AUTH },
|
||||||
|
#if !defined (__SVR4) && !defined (__sun)
|
||||||
{ "authpriv", LOG_AUTHPRIV },
|
{ "authpriv", LOG_AUTHPRIV },
|
||||||
|
{ "ftp", LOG_FTP },
|
||||||
|
#endif
|
||||||
{ "cron", LOG_CRON },
|
{ "cron", LOG_CRON },
|
||||||
{ "daemon", LOG_DAEMON },
|
{ "daemon", LOG_DAEMON },
|
||||||
{ "ftp", LOG_FTP },
|
|
||||||
{ "kern", LOG_KERN },
|
{ "kern", LOG_KERN },
|
||||||
{ "local0", LOG_LOCAL0 },
|
{ "local0", LOG_LOCAL0 },
|
||||||
{ "local1", LOG_LOCAL1 },
|
{ "local1", LOG_LOCAL1 },
|
||||||
|
|
Loading…
Reference in New Issue