mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Better fix for generic firewall parsing
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@714 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3458f3e0f4
commit
b68171cc23
@ -1209,8 +1209,8 @@ setup_tunnels() # $1 = name of tunnels file
|
|||||||
case $2 in
|
case $2 in
|
||||||
*:*:*)
|
*:*:*)
|
||||||
p=${2##*:}
|
p=${2##*:}
|
||||||
temp=${2%:*}
|
protocol=${2%:*}
|
||||||
protocol=${temp#*:}
|
protocol=${protocol#*:}
|
||||||
;;
|
;;
|
||||||
*:*)
|
*:*)
|
||||||
protocol=${2#*:}
|
protocol=${2#*:}
|
||||||
|
Loading…
Reference in New Issue
Block a user