From 9f0398421ab66df95a13390daa7ccfeafd3a78ec Mon Sep 17 00:00:00 2001 From: bbruns Date: Sun, 26 Sep 2010 22:06:12 +0000 Subject: [PATCH] Fixes for multiport --- bin/firewall-sosdg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index 9ce7c16..d047730 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -275,7 +275,7 @@ if [ "$TCPPORTS" ] || [ "$UDPPORTS" ]; then echo -en "${PURPLE}Multiport-TCP${DEFAULT_COLOR}/${GREEN}${PORTS#,}" $IPTABLES -A INPUT -p tcp -m multiport --dports ${PORTS#,} -j ACCEPT unset PORTS - PORTS_COUNT_CURR=$y + PORTS_COUNT_CURR=$i done unset y PORTS PORTS_COUNT_CURR PORTS_COUNT else