diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-06 18:03:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-09 14:10:58 +0200 |
commit | 788687b03e3708221cd5721fe90da300aca90522 (patch) | |
tree | 63bdcf5724d894d014c6a722b74d9d15b881a197 /src/scanner.l | |
parent | fc53d1b6b93d9ca194334c43931753e19bcb127b (diff) |
src: interpret the event type from the evaluation step
Postpone the event type interpretation to the evaluation step.
This patch also fixes the combination of event and object types,
which was broken. The export code needed to be adjusted too.
The new and destroy are not tokens that can be recognized by
the scanner anymore, so this also implicitly restores 'ct state'.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/scanner.l b/src/scanner.l index 0955c4af..b5d7d4f9 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -261,9 +261,6 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr}) "export" { return EXPORT; } "monitor" { return MONITOR; } -"new" { return NEW; } -"destroy" { return DESTROY; } - "position" { return POSITION; } "comment" { return COMMENT; } |