From 828eb7fb46a61ab7bc5fdf393dc8c5b65fd1ec24 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 26 Jul 2003 06:05:18 +0000 Subject: 2003-07-26 Paul Jakma * lib/command.c: Add config_log_syslog_facility_cmd, to set syslog facility. This was a commit to zebra.org on May 20, merge in to zebra-pj. --- lib/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index 9c676428..88e1dbf0 100644 --- a/lib/log.c +++ b/lib/log.c @@ -106,7 +106,7 @@ vzlog (struct zlog *zl, int priority, const char *format, va_list *args) /* Syslog output */ if (zl->flags & ZLOG_SYSLOG) - vsyslog (priority, format, args[ZLOG_SYSLOG_INDEX]); + vsyslog (priority|zlog_default->facility, format, args[ZLOG_SYSLOG_INDEX]); /* File output. */ if (zl->flags & ZLOG_FILE) -- cgit v1.2.1