Sign in
nest-open-source
/
manifest_repos
/
iptables
/
d3ca9cf56ec3190b1eb9900c27a8d1e75adf5446
/
.
/
iptables
/
tests
/
shell
/
testcases
/
chain
/
0001duplicate_1
blob: 80ebb119c2689a39f8615a3c15db46cc66d02e05 [
file
] [
log
] [
blame
]
#!/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