fixed iptables/ip6tables switch

This commit is contained in:
Andreas Steffen 2008-04-19 07:47:00 +00:00
parent 544f8f6380
commit 734e81bbd6
1 changed files with 1 additions and 8 deletions

View File

@ -233,13 +233,6 @@ do
@EOF
fi
if [ $SUBDIR = "ipv6" ]
then
IPTABLES="ip6tables"
else
IPTABLES="iptables"
fi
for name in $SUBTESTS
do
let "testnumber += 1"
@ -252,7 +245,7 @@ do
continue
fi
if [ $name = "rw-psk-ipv6" ]
if [ $SUBDIR = "ipv6" -o $name = "rw-psk-ipv6" ]
then
IPTABLES="ip6tables"
else