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>