[PATCH] Re: [syslog-ng] time_sleep()

Roberto Nibali ratz at drugphish.ch
Wed Apr 26 22:59:26 CEST 2006


Hello,

> Here you go:

The grammar was missing an entry, the attached patch should fix it. 
Please try and report back if this solves the problem for you.

Thanks and best regards,
Roberto Nibali, ratz
-- 
echo 
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
-------------- next part --------------
--- syslog-ng-1.6.10/src/cfg-grammar.y	2006-03-14 00:34:13.000000000 +0100
+++ syslog-ng-1.6.10-ratz/src/cfg-grammar.y	2006-04-26 22:58:20.000000000 +0200
@@ -631,6 +631,7 @@
 	| KW_USE_DNS '(' yesno ')'		{ configuration->use_dns = $3; }
 	| KW_TIME_REOPEN '(' NUMBER ')'		{ configuration->time_reopen = $3; }
 	| KW_TIME_REAP '(' NUMBER ')'		{ configuration->time_reap = $3; }
+	| KW_TIME_SLEEP '(' NUMBER ')'		{ configuration->time_sleep = $3; }
 	| KW_LOG_FIFO_SIZE '(' NUMBER ')'	{ configuration->log_fifo_size = $3; }
 	| KW_GC_BUSY_THRESHOLD '(' NUMBER ')' 	{ configuration->gc_busy_threshold = $3; }
 	| KW_GC_IDLE_THRESHOLD '(' NUMBER ')'	{ configuration->gc_idle_threshold = $3; }


More information about the syslog-ng mailing list