Remove dead global variable OPENVPNPORT

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1849 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-12-25 02:42:01 +00:00
parent 91145626ef
commit b93b8a2522
2 changed files with 3 additions and 1 deletions

View File

@ -188,3 +188,5 @@ Changes since 2.0.3
dynamic chain. dynamic chain.
92) Add OPENVPNPORT option. 92) Add OPENVPNPORT option.
93) Remove OPENVPNPORT option and change default port to 1194.

View File

@ -1595,6 +1595,7 @@ setup_tunnels() # $1 = name of tunnels file
options="-m state --state NEW -j ACCEPT" options="-m state --state NEW -j ACCEPT"
addrule2 $inchain -p 50 $(source_ip_range $1) -j ACCEPT addrule2 $inchain -p 50 $(source_ip_range $1) -j ACCEPT
addrule2 $outchain -p 50 $(dest_ip_range $1) -j ACCEPT addrule2 $outchain -p 50 $(dest_ip_range $1) -j ACCEPT
if [ -z "$noah" ]; then if [ -z "$noah" ]; then
run_iptables -A $inchain -p 51 $(source_ip_range $1) -j ACCEPT run_iptables -A $inchain -p 51 $(source_ip_range $1) -j ACCEPT
run_iptables -A $outchain -p 51 $(dest_ip_range $1) -j ACCEPT run_iptables -A $outchain -p 51 $(dest_ip_range $1) -j ACCEPT
@ -7122,7 +7123,6 @@ do_initialize() {
LOGTAGONLY= LOGTAGONLY=
LOGALLNEW= LOGALLNEW=
DROPINVALID= DROPINVALID=
OPENVPNPORT=
RESTOREBASE= RESTOREBASE=
TMP_DIR= TMP_DIR=