Make Openvpn TCP support a little more robust

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2904 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-10-18 17:05:12 +00:00
parent f7072b13b4
commit cf7e66aab4

View File

@ -2362,11 +2362,11 @@ setup_tunnels() # $1 = name of tunnels file
protocol=${protocol#*:}
p=${2##*:}
;;
*:[0:9]*)
p=${2#*:}
*:tcp|*:udp|*:TCP|*:UDP)
protocol=${2#*:}
;;
*:*)
protocol=${2#*:}
p=${2#*:}
;;
esac
@ -2387,11 +2387,11 @@ setup_tunnels() # $1 = name of tunnels file
protocol=${protocol#*:}
p=${2##*:}
;;
*:[0:9]*)
p=${2#*:}
*:tcp|*:udp|*:TCP|*:UDP)
protocol=${2#*:}
;;
*:*)
protocol=${2#*:}
p=${2#*:}
;;
esac
@ -2412,11 +2412,11 @@ setup_tunnels() # $1 = name of tunnels file
protocol=${protocol#*:}
p=${2##*:}
;;
*:[0:9]*)
p=${2#*:}
*:tcp|*:udp|*:TCP|*:UDP)
protocol=${2#*:}
;;
*:*)
protocol=${2#*:}
p=${2#*:}
;;
esac