diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-12-29 18:14:36 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-03 20:53:37 +0100 |
commit | 2a5d44d8b3c88018165d736c9582cebbf40e6362 (patch) | |
tree | d3767a465dfec3cc38ee2c9d663555ea6bf62293 /include/ct.h | |
parent | 22c66b3af76c2bc2c720013ffa0100aae7c97cbe (diff) |
parser: get rid of multiton_expr from lhs relational expression
The multiton_expr rule matches range, prefix and wildcard expressions
which don't make sense from the non-constant lhs. This rule is there to
handle the nat statement case, whose expression may be composed of
address and port ranges (hence range expressions).
To resolve this, this patch adds the stmt_expr rule to handle the
possible occurrences of map, multiton and primary expressions from
statements.
This results in more rules but it narrows down what we can find from
expressions that are part of action statements.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/ct.h')
0 files changed, 0 insertions, 0 deletions