summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-10-20 14:15:46 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-10-20 14:15:46 +0200
commit9c2fd73489f516eb56f8fe216913ea70e3b4a76a (patch)
tree2b983d33fad62719a56f9955f8a6e95648078a60
parenta7c245bafd98a04414903787448ac17bb0922b70 (diff)
downloadconntrack-tools-9c2fd73489f516eb56f8fe216913ea70e3b4a76a.tar.gz
conntrack-tools-9c2fd73489f516eb56f8fe216913ea70e3b4a76a.zip
config: fix usage of 'PurgeTimeout' in Sync NOTRACK
This patch fixes a problem that is reported by conntrackd while trying to parse the example configuration file. We fix this instead of the example file to make it consistent with other replication approaches. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/read_config_yy.y6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index c7bce82..c01abe4 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -467,6 +467,7 @@ sync_mode_alarm_list:
sync_mode_alarm_line: refreshtime
| expiretime
| timeout
+ | purge
| relax_transitions
| delay_destroy_msgs
;
@@ -476,6 +477,7 @@ sync_mode_ftfw_list:
sync_mode_ftfw_line: resend_queue_size
| timeout
+ | purge
| window_size
;
@@ -483,8 +485,8 @@ sync_mode_notrack_list:
| sync_mode_notrack_list sync_mode_notrack_line;
sync_mode_notrack_line: timeout
- ;
-
+ | purge
+ ;
resend_queue_size: T_RESEND_BUFFER_SIZE T_NUMBER
{