summaryrefslogtreecommitdiffstats
path: root/tests/expr/exthdr/exthdr_ipv6_no_dreg_err.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expr/exthdr/exthdr_ipv6_no_dreg_err.t')
-rw-r--r--tests/expr/exthdr/exthdr_ipv6_no_dreg_err.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expr/exthdr/exthdr_ipv6_no_dreg_err.t b/tests/expr/exthdr/exthdr_ipv6_no_dreg_err.t
new file mode 100644
index 0000000..8a0e269
--- /dev/null
+++ b/tests/expr/exthdr/exthdr_ipv6_no_dreg_err.t
@@ -0,0 +1,6 @@
+add_table(NFPROTO_IPV6, "test", NULL, NULL, NULL);
+add_chain("test", "0x1", NULL, NULL, NULL);
+add_rule("test", "0x1", NULL, NULL, NULL);
+exthdr("NFT_REG_1", NULL, "0", "4", "0", "0", NULL);
+cmp("NFT_REG_1", "0", "01020304");
+commit();