summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/rule_management/0003insert_0
blob: 329ccc203ed73c4030ad32b209a5e525513aeaf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# tests for Netfilter bug #965
# (regarding rule management with a given position/handle spec)

set -e
$NFT add table t
$NFT add chain t c
$NFT insert rule t c accept
$NFT insert rule t c drop
$NFT insert rule t c masquerade