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