From b295bab24867f5dfe3bb070611248efb418b45a0 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 2 Dec 2004 15:48:37 +0000 Subject: [PATCH] Fix typo in 'shorewall add' code git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1795 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- STABLE2/changelog.txt | 4 ++++ STABLE2/firewall | 2 +- STABLE2/releasenotes.txt | 9 ++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/STABLE2/changelog.txt b/STABLE2/changelog.txt index 91101461d..136ad0f86 100644 --- a/STABLE2/changelog.txt +++ b/STABLE2/changelog.txt @@ -95,3 +95,7 @@ Changes in 2.0.12 4) Split restore-base into two files. 5) Correct dynamic zone OUTPUT handling. + +Changes in 2.0.13 + +1) Correct typo in "shorewall add" code. diff --git a/STABLE2/firewall b/STABLE2/firewall index 779f63314..615d4c550 100755 --- a/STABLE2/firewall +++ b/STABLE2/firewall @@ -5802,7 +5802,7 @@ add_to_zone() # $1 = [:] $2 = zone # # 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 eval source_hosts=\"\$${z1}_hosts\" diff --git a/STABLE2/releasenotes.txt b/STABLE2/releasenotes.txt index 30ed7ded4..7eb3f5634 100644 --- a/STABLE2/releasenotes.txt +++ b/STABLE2/releasenotes.txt @@ -1,4 +1,4 @@ -Shorewall 2.0.12 +Shorewall 2.0.13 ---------------------------------------------------------------------- Problems Corrected in version 2.0.4 @@ -240,3 +240,10 @@ New Features in 2.0.12 Any other config 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