]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: interpret the event type from the evaluation step
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Oct 2014 16:03:27 +0000 (18:03 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Oct 2014 12:10:58 +0000 (14:10 +0200)
commit788687b03e3708221cd5721fe90da300aca90522
tree63bdcf5724d894d014c6a722b74d9d15b881a197
parentfc53d1b6b93d9ca194334c43931753e19bcb127b
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>
include/rule.h
src/evaluate.c
src/parser.y
src/rule.c
src/scanner.l