Minor fix for IPV6_TCPPORTS

master
bbruns 2010-10-18 05:39:25 +00:00
parent 2e172f59db
commit 334ab32448
1 changed files with 2 additions and 2 deletions

View File

@ -718,8 +718,8 @@ fi
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
if [ ${IPV6TCP[$i]} ]; then
PORTS="${PORTS},${IPV6TCP[$i]}"
if [ ${IPV6_TCPPORTS[$i]} ]; then
PORTS="${PORTS},${IPV6_TCPPORTS[$i]}"
fi
done
echo -en "${PURPLE}Multiport-TCP${DEFAULT_COLOR}/${GREEN}${PORTS#,} "