From 2e172f59db6070e1eb2a1a4257836de6c600a20e Mon Sep 17 00:00:00 2001 From: bbruns Date: Mon, 18 Oct 2010 05:37:56 +0000 Subject: [PATCH] Minor fix for IPV6_TCPPORTS --- bin/firewall-sosdg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/firewall-sosdg b/bin/firewall-sosdg index 6c7541a..a98ae70 100755 --- a/bin/firewall-sosdg +++ b/bin/firewall-sosdg @@ -714,7 +714,7 @@ fi if [ "$IPV6_TCPPORTS" ]; then if [ "$IPTABLES_MULTIPORT" == "yes" ] && [ "$NF_MULTIPORT_MAX_PORTS" ]; then IPV6_TCPPORTS=($IPV6_TCPPORTS) - PORTS_COUNT=${#IPV6TCP[@]} + PORTS_COUNT=${#IPV6_TCPPORTS[@]} 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