Minor fix for IPV6_TCPPORTS
parent
cca3f45be6
commit
2e172f59db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue