]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: packetpath: add check for drop policy
authorFlorian Westphal <fw@strlen.de>
Wed, 3 Apr 2024 10:28:12 +0000 (12:28 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 25 Apr 2024 11:25:19 +0000 (13:25 +0200)
commit96a22e33dd26b01a6711412508d28d8cabd66e87
treefc6abe8cbb5c2e222bbf1dc516b6d32f8a05680a
parent9da7b00aa886012c0e59e73aa19e05a8d1568540
tests: packetpath: add check for drop policy

check that policy can be changed from accept to drop and that the kernel
acts on this.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/packetpath/dumps/policy.json-nft [new file with mode: 0644]
tests/shell/testcases/packetpath/dumps/policy.nft [new file with mode: 0644]
tests/shell/testcases/packetpath/policy [new file with mode: 0755]