[netfilter-cvslog] r6295 - branches/ulog/ulogd2/output

laforge at netfilter.org laforge at netfilter.org
Mon Dec 5 15:52:59 CET 2005


Author: laforge at netfilter.org
Date: 2005-12-05 15:52:55 +0100 (Mon, 05 Dec 2005)
New Revision: 6295

Modified:
   branches/ulog/ulogd2/output/ulogd_output_SYSLOG.c
Log:
syslog_level is a string, not an int


Modified: branches/ulog/ulogd2/output/ulogd_output_SYSLOG.c
===================================================================
--- branches/ulog/ulogd2/output/ulogd_output_SYSLOG.c	2005-12-05 12:12:48 UTC (rev 6294)
+++ branches/ulog/ulogd2/output/ulogd_output_SYSLOG.c	2005-12-05 14:52:55 UTC (rev 6295)
@@ -51,7 +51,7 @@
 		},
 		{ 
 		.key = "level", 
-		.type = CONFIG_TYPE_INT,
+		.type = CONFIG_TYPE_STRING,
 		.options = CONFIG_OPT_NONE, 
 		.u = { .string = SYSLOG_LEVEL_DEFAULT }
 		},
@@ -134,7 +134,7 @@
 		syslog_level = LOG_DEBUG;
 	else {
 		ulogd_log(ULOGD_FATAL, "unknown level '%s'\n",
-			facility);
+			  level);
 		return -EINVAL;
 	}
 




More information about the netfilter-cvslog mailing list