]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: generate ether type payload after meta iiftype
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 28 Jan 2016 20:07:15 +0000 (21:07 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 31 Jan 2016 22:43:36 +0000 (23:43 +0100)
commitc177581efa78cce6384e306a2f2ee4b057ef6635
treeee46a608a101751522a1f1ee196af7869617f98c
parent03dc38424bef6d5be472e28e0a26db3cd09960af
evaluate: generate ether type payload after meta iiftype

Once the meta iiftype is generated, we shouldn't return from
resolve_protocol_conflict() since we also need to generate the ether
type payload implicit match after it.

This gets rid of the manual proto-ctx update from
meta_iiftype_gen_dependency() that we don't need since stmt_evaluate()
already handles this for us.

Moreover, skip error reporting once we verify that the protocol conflict
has been resolved.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c