summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/dumps/bad_rule_graphs.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/transactions/dumps/bad_rule_graphs.nft')
-rw-r--r--tests/shell/testcases/transactions/dumps/bad_rule_graphs.nft30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/dumps/bad_rule_graphs.nft b/tests/shell/testcases/transactions/dumps/bad_rule_graphs.nft
new file mode 100644
index 00000000..3a593650
--- /dev/null
+++ b/tests/shell/testcases/transactions/dumps/bad_rule_graphs.nft
@@ -0,0 +1,30 @@
+table ip t {
+ map m {
+ type ipv4_addr : verdict
+ }
+
+ chain c10 {
+ }
+
+ chain c9 {
+ jump c10
+ tcp dport 80 tproxy to :20000 meta mark set 0x00000001 accept
+ }
+
+ chain c8 {
+ jump c9
+ }
+
+ chain c2 {
+ }
+
+ chain c1 {
+ jump c2
+ ip saddr vmap @m
+ }
+
+ chain c0 {
+ type filter hook input priority filter; policy accept;
+ jump c1
+ }
+}