From e7288c1eddfe001e32c2bacf938e2bafb671c901 Mon Sep 17 00:00:00 2001 From: bbruns Date: Fri, 26 Nov 2010 03:12:40 +0000 Subject: [PATCH] Fix typo in IPV6_TCPPORTS --- bin/firewall-sosdg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index b526caf..f821c9f 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -799,12 +799,12 @@ fi PORTS_COUNT_CURR=$i done unset i PORTS PORTS_COUNT_CURR PORTS_COUNT - fi - else + else for i in $IPV6_TCPPORTS; do echo -en "${PURPLE}TCP${DEFAULT_COLOR}/${GREEN}$i " $IP6TABLES -A INPUT -p tcp --dport $i -j ACCEPT done + fi fi if [ "$IPV6_UDPPORTS" ]; then for i in $IPV6_UDPPORTS; do