Add Patrik Varmeck��'s Tunnel patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2117 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-05-15 16:43:18 +00:00
parent 0c2c50f6ee
commit a52bc4a97e
3 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,8 @@ Changes in 2.2.5
1) Correct behavior of PKTTYPE=No 1) Correct behavior of PKTTYPE=No
2) Fixed typo in the tunnel script.
Changes in 2.2.4 Changes in 2.2.4
1) Added support for UPnP 1) Added support for UPnP

View File

@ -6,6 +6,9 @@ Problems corrected in version 2.2.5
1) Previously, if PKTTYPE=No in shorewall.conf then pkttype match would 1) Previously, if PKTTYPE=No in shorewall.conf then pkttype match would
still be used if the kernel supported it. still be used if the kernel supported it.
2) A typo in the 'tunnel' script has been corrected (Thanks to Patrik
Varmecký).
----------------------------------------------------------------------- -----------------------------------------------------------------------
Problems corrected in version 2.2.4 Problems corrected in version 2.2.4

View File

@ -108,7 +108,7 @@ do_start() {
case $tunnel_type in case $tunnel_type in
gre) gre)
ip tunnel add $tunnel mode gre remote $gateway local $myrealip ttl 255 ${key:+key $key) ip tunnel add $tunnel mode gre remote $gateway local $myrealip ttl 255 ${key:+key $key}
;; ;;
*) *)
ip tunnel add $tunnel mode ipip remote $gateway ip tunnel add $tunnel mode ipip remote $gateway