This patch stores the converted values from the configuration file into the syslog instance structure. Otherwise configuration parameters are senseless and only the default values will be used. Signed-off-by: Peter Warasin <peter@xxxxxxxxxx> --- output/ulogd_output_SYSLOG.c | 4 ++++ 1 file changed, 4 insertions(+) Index: ulogd-2.0.0beta1/output/ulogd_output_SYSLOG.c =================================================================== --- ulogd-2.0.0beta1.orig/output/ulogd_output_SYSLOG.c 2008-01-11 13:12:27.000000000 +0100 +++ ulogd-2.0.0beta1/output/ulogd_output_SYSLOG.c 2008-01-11 13:24:18.000000000 +0100 @@ -87,6 +87,7 @@ { int syslog_facility, syslog_level; char *facility, *level; + struct syslog_instance *li = (struct syslog_instance *) &pi->private; /* FIXME: error handling */ config_parse_file(pi->id, pi->config_kset); @@ -144,6 +145,9 @@ return -EINVAL; } + li->syslog_level = syslog_level; + li->syslog_facility = syslog_facility; + return 0; } -- - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html