]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: Fix sets/reset_command_0 for current kernels
authorPhil Sutter <phil@nwl.cc>
Thu, 2 Nov 2023 15:02:14 +0000 (16:02 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 22 Nov 2023 18:01:54 +0000 (19:01 +0100)
commit7a6089a400a573b9a4fd92f29c00a6be7b8ef269
treea2fe44051643dd177bd6db7da02e20605229e1cc
parentca3190fffd50e17289ed280a5326a53467491662
tests: shell: Fix sets/reset_command_0 for current kernels

Since kernel commit 4c90bba60c26 ("netfilter: nf_tables: do not refresh
timeout when resetting element"), element reset won't touch expiry
anymore. Invert the one check to make sure it remains unaltered, drop
the other testing behaviour for per-element timeouts.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/shell/testcases/sets/reset_command_0