Debian Codegraph @

tests/shell/testcases/cache/0011_index_0

raw
1 #!/bin/bash
2
3 # NFT_TEST_REQUIRES(NFT_TEST_HAVE_position_id)
4
5 set -e
6
7 RULESET="flush ruleset
8 add table inet t
9 add chain inet t c { type filter hook input priority 0 ; }
10 add rule inet t c tcp dport 1234 accept
11 add rule inet t c accept
12 insert rule inet t c index 1 udp dport 4321 accept"
13
14 $NFT -f - <<< "$RULESET"