Fix typo in IPV6_TCPPORTS
parent
1aca632545
commit
e7288c1edd
|
@ -799,13 +799,13 @@ 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
|
||||||
echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i "
|
echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i "
|
||||||
|
|
Loading…
Reference in New Issue