summaryrefslogtreecommitdiffstats
path: root/tests/files/loop-detect.3
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/loop-detect.3')
-rw-r--r--tests/files/loop-detect.37
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/files/loop-detect.3 b/tests/files/loop-detect.3
new file mode 100644
index 00000000..80f7fc5a
--- /dev/null
+++ b/tests/files/loop-detect.3
@@ -0,0 +1,7 @@
+#! nft -f
+
+# Circular jump when creating an anonymous verdict map: chain1 -> chain2 -> chain3 -> chain1
+flush table filter
+add filter chain1 jump chain2
+add filter chain2 jump chain3
+add filter chain3 ip daddr vmap { 10.0.0.1 : continue, 192.168.0.1 : jump chain1 }