mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-18 15:46:55 +02: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#*:}
|
protocol=${protocol#*:}
|
||||||
p=${2##*:}
|
p=${2##*:}
|
||||||
;;
|
;;
|
||||||
*:[0:9]*)
|
*:tcp|*:udp|*:TCP|*:UDP)
|
||||||
p=${2#*:}
|
protocol=${2#*:}
|
||||||
;;
|
;;
|
||||||
*:*)
|
*:*)
|
||||||
protocol=${2#*:}
|
p=${2#*:}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -2387,11 +2387,11 @@ setup_tunnels() # $1 = name of tunnels file
|
|||||||
protocol=${protocol#*:}
|
protocol=${protocol#*:}
|
||||||
p=${2##*:}
|
p=${2##*:}
|
||||||
;;
|
;;
|
||||||
*:[0:9]*)
|
*:tcp|*:udp|*:TCP|*:UDP)
|
||||||
p=${2#*:}
|
protocol=${2#*:}
|
||||||
;;
|
;;
|
||||||
*:*)
|
*:*)
|
||||||
protocol=${2#*:}
|
p=${2#*:}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -2412,11 +2412,11 @@ setup_tunnels() # $1 = name of tunnels file
|
|||||||
protocol=${protocol#*:}
|
protocol=${protocol#*:}
|
||||||
p=${2##*:}
|
p=${2##*:}
|
||||||
;;
|
;;
|
||||||
*:[0:9]*)
|
*:tcp|*:udp|*:TCP|*:UDP)
|
||||||
p=${2#*:}
|
protocol=${2#*:}
|
||||||
;;
|
;;
|
||||||
*:*)
|
*:*)
|
||||||
protocol=${2#*:}
|
p=${2#*:}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user