]> git.ipfire.org Git - thirdparty/nftables.git/commit
Amend "tests: shell: Fix ifname_based_hooks feature check"
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Jul 2025 22:52:55 +0000 (00:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 31 Jul 2025 22:52:27 +0000 (00:52 +0200)
commitb2757cb6596a0089b699f34ad1155e797c1206bf
tree57ad214bdc9e5a7bc0782015c7b1f1c93b3e8dc6
parentea22126555f921f73bfeb204bbc9e02bdb37db61
Amend "tests: shell: Fix ifname_based_hooks feature check"

commit 646acfaceb1f550c982c31ba6e60996b0bb012d7 upstream.

The following syntax:

  type filter hook ingress priority 0; devices = { d0 };

is not parsed in 1.0.6.y.

And remove device deletion, this is only available since 1.0.8 in:

commit a66b5ad9540dd64c7c67006201b8b3ccf8e4316b
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date:   Wed Apr 19 11:50:01 2023 +0200

    src: allow for updating devices on existing netdev chain

skip netdev_chain_dormant_autoremove for new kernels.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/features/ifname_based_hooks.sh
tests/shell/testcases/chains/netdev_chain_dormant_autoremove