summaryrefslogtreecommitdiff
path: root/src/read_config_lex.l
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-05-25 20:36:54 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-05-25 20:36:54 +0200
commitf152340a26912d090b5fd15be10208605929816b (patch)
treedab6a28719c6c815112fe1c3354a8b7942a90bfe /src/read_config_lex.l
parented49d60424a18635c31dafc77e2cb720f75cc4ff (diff)
downloadconntrack-tools-f152340a26912d090b5fd15be10208605929816b.tar.gz
conntrack-tools-f152340a26912d090b5fd15be10208605929816b.zip
add best effort replication protocol (aka NOTRACK)
Diffstat (limited to 'src/read_config_lex.l')
-rw-r--r--src/read_config_lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/read_config_lex.l b/src/read_config_lex.l
index 7daaeab..bdde3b6 100644
--- a/src/read_config_lex.l
+++ b/src/read_config_lex.l
@@ -49,6 +49,7 @@ 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]
alarm [A|a][L|l][A|a][R|r][M|m]
ftfw [F|f][T|t][F|f][W|w]
+notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k]
%%
"UNIX" { return T_UNIX; }
@@ -125,6 +126,7 @@ ftfw [F|f][T|t][F|f][W|w]
"is called `ftfw'. Please, update "
"your conntrackd.conf file.\n");
return T_FTFW; }
+{notrack} { return T_NOTRACK; }
{string} { yylval.string = strdup(yytext); return T_STRING; }
{comment} ;