summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optimizations/merge_stmts_concat_vmap
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-02-07 10:53:41 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-02-07 11:39:16 +0100
commit9be404a153bc9525d52afabed622843717c37851 (patch)
treedcae66af68d20766a9508186c97b594557366323 /tests/shell/testcases/optimizations/merge_stmts_concat_vmap
parent27c753e4a8d4744f479345e3f5e34cafef751602 (diff)
optimize: ignore existing nat mapping
User might be already using a nat mapping in their ruleset, use the unsupported statement when collecting statements in this case. # nft -c -o -f ruleset.nft nft: optimize.c:443: rule_build_stmt_matrix_stmts: Assertion `k >= 0' failed. Aborted The -o/--optimize feature only cares about linear rulesets at this stage, but do not hit assert() in this case. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1656 Fixes: 0a6dbfce6dc3 ("optimize: merge nat rules with same selectors into map") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/optimizations/merge_stmts_concat_vmap')
0 files changed, 0 insertions, 0 deletions