Fix generic firewall parsing

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@713 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-08-14 02:08:51 +00:00
parent 064557a2e2
commit 3458f3e0f4

View File

@ -1209,8 +1209,8 @@ setup_tunnels() # $1 = name of tunnels file
case $2 in
*:*:*)
p=${2##*:}
protocol=${2%:*}
protocol=${2#*:}
temp=${2%:*}
protocol=${temp#*:}
;;
*:*)
protocol=${2#*:}