summaryrefslogtreecommitdiffstats
path: root/tests/loop-detect.4
blob: acd9a3427a16e922dd0e62afeff4d85671e8d86b (plain)
1
2
3
4
5
6
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