0001duplicate_1 243 Bytes
Newer Older
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