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.
diff --git a/lib/log.c b/lib/log.c
index 9c67642..88e1dbf 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -106,7 +106,7 @@
 		
   /* 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)