summaryrefslogtreecommitdiff
path: root/src/read_config_lex.l
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-09-12 15:23:14 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-09-12 15:23:14 +0000
commit66cd168df39bfcf581bb36250a080a66331ee5cd (patch)
treee647db7ab813ee6ca1d335628f968efdceced535 /src/read_config_lex.l
parent82603e7b61398ba4126586e21b1975cb57b66540 (diff)
downloadconntrack-tools-66cd168df39bfcf581bb36250a080a66331ee5cd.tar.gz
conntrack-tools-66cd168df39bfcf581bb36250a080a66331ee5cd.zip
add syslog support and bump version
Diffstat (limited to 'src/read_config_lex.l')
-rw-r--r--src/read_config_lex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/read_config_lex.l b/src/read_config_lex.l
index 87e98d1..48c0409 100644
--- a/src/read_config_lex.l
+++ b/src/read_config_lex.l
@@ -42,7 +42,7 @@ ip6_part {hex_255}":"?
ip6_form1 {ip6_part}{0,16}"::"{ip6_part}{0,16}
ip6_form2 ({hex_255}":"){16}{hex_255}
ip6 {ip6_form1}|{ip6_form2}
-string [a-zA-Z0-9]*
+string [a-zA-Z][a-zA-Z0-9]*
persistent [P|p][E|e][R|r][S|s][I|i][S|s][T|t][E|e][N|n][T|T]
nack [N|n][A|a][C|c][K|k]
@@ -73,6 +73,7 @@ nack [N|n][A|a][C|c][K|k]
"Backlog" { return T_BACKLOG; }
"Group" { return T_GROUP; }
"LogFile" { return T_LOG; }
+"Syslog" { return T_SYSLOG; }
"LockFile" { return T_LOCK; }
"General" { return T_GENERAL; }
"Sync" { return T_SYNC; }