--- uClibc-0.9.29.orig/include/sys/syslog.h	2006-05-06 14:34:45.000000000 +0800
+++ uClibc-0.9.29/include/sys/syslog.h	2011-02-09 15:00:38.793570026 +0800
@@ -166,6 +166,16 @@
 #define	LOG_NOWAIT	0x10	/* don't wait for console forks: DEPRECATED */
 #define	LOG_PERROR	0x20	/* log to stderr as well */
 
+/*********** DrayTek syslog classification. ********************/
+#define ROUTER_STATUS_INFO  	(LOG_LOCAL5+LOG_INFO)
+#define WANLOG_INFO 			(LOG_LOCAL4+LOG_INFO)
+#define IPFLOG_INFO 			(LOG_LOCAL0+LOG_INFO)
+#define IPFLOG_ALERT 			(LOG_LOCAL0+LOG_ALERT)
+#define CALLLOG_INFO 			(LOG_LOCAL3+LOG_INFO)
+#define USRLOG_INFO 			(LOG_LOCAL2+LOG_INFO)
+#define VPNLOG_INFO 			(LOG_LOCAL1|LOG_NOTICE)
+/*******************************************************/
+
 __BEGIN_DECLS
 
 /* Close descriptor used to write to system logger.
