Fix typo in IPV6_TCPPORTS

master
bbruns 2010-11-26 03:12:40 +00:00
parent 1aca632545
commit e7288c1edd
1 changed files with 2 additions and 2 deletions

View File

@ -799,12 +799,12 @@ fi
PORTS_COUNT_CURR=$i PORTS_COUNT_CURR=$i
done done
unset i PORTS PORTS_COUNT_CURR PORTS_COUNT unset i PORTS PORTS_COUNT_CURR PORTS_COUNT
fi else
else
for i in $IPV6_TCPPORTS; do for i in $IPV6_TCPPORTS; do
echo -en "${PURPLE}TCP${DEFAULT_COLOR}/${GREEN}$i " echo -en "${PURPLE}TCP${DEFAULT_COLOR}/${GREEN}$i "
$IP6TABLES -A INPUT -p tcp --dport $i -j ACCEPT $IP6TABLES -A INPUT -p tcp --dport $i -j ACCEPT
done done
fi
fi fi
if [ "$IPV6_UDPPORTS" ]; then if [ "$IPV6_UDPPORTS" ]; then
for i in $IPV6_UDPPORTS; do for i in $IPV6_UDPPORTS; do