diff options
author | paul <paul> | 2003-07-26 06:05:18 +0000 |
---|---|---|
committer | paul <paul> | 2003-07-26 06:05:18 +0000 |
commit | 828eb7fb46a61ab7bc5fdf393dc8c5b65fd1ec24 (patch) | |
tree | 6d1753c204fdcd349e28e5a42a2725af1139bf3d | |
parent | 736d3441e267c76056d6fcc2f59cd09a90f3af21 (diff) |
2003-07-26 Paul Jakma <paul@dishone.st>
* 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.
-rw-r--r-- | lib/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |