]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: missing dump for 0017ct_timeout_obj_0
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 31 Aug 2018 16:12:10 +0000 (18:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 31 Aug 2018 17:01:43 +0000 (19:01 +0200)
So we compare input and output are the same.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft [new file with mode: 0755]

diff --git a/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft b/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft
new file mode 100755 (executable)
index 0000000..af0c627
--- /dev/null
@@ -0,0 +1,11 @@
+table ip filter {
+       ct timeout cttime {
+               protocol tcp;
+               l3proto ip
+               policy = {established: 123, close: 12}
+       }
+
+       chain c {
+               ct timeout set "cttime"
+       }
+}