]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: Simplify parser rule_spec tree
authorCarlos Falgueras García <carlosfg@riseup.net>
Tue, 23 Aug 2016 07:40:45 +0000 (09:40 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 23 Aug 2016 11:17:41 +0000 (13:17 +0200)
commitcec8dde7af3ec0f2e16d6445b14f77a2c357221e
treeb6904838e28b890a9410f7d015a0d40aab6992b4
parent09d27ff9138e4be38b86499e26ad2d1116dd0f02
src: Simplify parser rule_spec tree

This patch separates the rule identification from the rule localization,
so the logic moves from the evaluator to the parser. This allows to
revert the patch "evaluate: improve rule managment checks"
(4176c7d30c2ff1b3f52468fc9c08b8df83f979a8) and saves a lot of code.

Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c
src/parser_bison.y