From b68171cc234fc5f8156efa6c5fa61d8f44a1b5d3 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 14 Aug 2003 13:57:09 +0000 Subject: [PATCH] Better fix for generic firewall parsing git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@714 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index 5d8e94f0c..a009f353e 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -1209,8 +1209,8 @@ setup_tunnels() # $1 = name of tunnels file case $2 in *:*:*) p=${2##*:} - temp=${2%:*} - protocol=${temp#*:} + protocol=${2%:*} + protocol=${protocol#*:} ;; *:*) protocol=${2#*:}