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