mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 13:39:06 +01:00
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:
parent
f7072b13b4
commit
cf7e66aab4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user