From: paul Date: Sat, 26 Jul 2003 06:05:18 +0000 (+0000) Subject: 2003-07-26 Paul Jakma X-Git-Tag: frr-2.0-rc1~3947 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=828eb7fb46a61ab7bc5fdf393dc8c5b65fd1ec24;p=mirror%2Ffrr.git 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. --- diff --git a/lib/log.c b/lib/log.c index 9c676428a7..88e1dbf012 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)