blob: 80ebb119c2689a39f8615a3c15db46cc66d02e05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
set -x
$XT_MULTI iptables -t filter -N c1 || exit 0
$XT_MULTI iptables -t filter -N c1 || exit 1
$XT_MULTI ip6tables -t filter -N c1 || exit 0
$XT_MULTI ip6tables -t filter -N c1 || exit 1
echo "E: Duplicate chains" >&2
exit 0
|