Minor fix for IPV6_TCPPORTS

master
bbruns 2010-10-18 05:37:56 +00:00
parent cca3f45be6
commit 2e172f59db
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ fi
if [ "$IPV6_TCPPORTS" ]; then
if [ "$IPTABLES_MULTIPORT" == "yes" ] && [ "$NF_MULTIPORT_MAX_PORTS" ]; then
IPV6_TCPPORTS=($IPV6_TCPPORTS)
PORTS_COUNT=${#IPV6TCP[@]}
PORTS_COUNT=${#IPV6_TCPPORTS[@]}
PORTS_COUNT_CURR=0
while (( "$PORTS_COUNT_CURR" < "$PORTS_COUNT" )); do
for ((i=$PORTS_COUNT_CURR; i <=(($PORTS_COUNT_CURR+(($NF_MULTIPORT_MAX_PORTS-1)))); i++)); do