Fix typo in 'shorewall add' code

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1795 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-12-02 15:48:37 +00:00
parent e482c3cf26
commit b295bab248
3 changed files with 13 additions and 2 deletions

View File

@ -95,3 +95,7 @@ Changes in 2.0.12
4) Split restore-base into two files. 4) Split restore-base into two files.
5) Correct dynamic zone OUTPUT handling. 5) Correct dynamic zone OUTPUT handling.
Changes in 2.0.13
1) Correct typo in "shorewall add" code.

View File

@ -5802,7 +5802,7 @@ add_to_zone() # $1 = <interface>[:<hosts>] $2 = zone
# #
# Add a rule to the dynamic out chain for the interface # Add a rule to the dynamic out chain for the interface
# #
do_iptables -A $(dynamic_out $interface) $(match_destination_hosts $host) -j $chain do_iptables -A $(dynamic_out $interface) $(match_dest_hosts $host) -j $chain
else else
eval source_hosts=\"\$${z1}_hosts\" eval source_hosts=\"\$${z1}_hosts\"

View File

@ -1,4 +1,4 @@
Shorewall 2.0.12 Shorewall 2.0.13
---------------------------------------------------------------------- ----------------------------------------------------------------------
Problems Corrected in version 2.0.4 Problems Corrected in version 2.0.4
@ -240,3 +240,10 @@ New Features in 2.0.12
Any other config file: Any other config file:
INCLUDE $FILE INCLUDE $FILE
-----------------------------------------------------------------------
Problems corrected in 2.0.13
1) A typo in /usr/share/shorewall/firewall caused the following:
/usr/share/shorewall/firewall: line 1: match_destination_hosts: command
not found