diff --git a/Shorewall2/changelog.txt b/Shorewall2/changelog.txt index 51a83f7e5..923ee5948 100644 --- a/Shorewall2/changelog.txt +++ b/Shorewall2/changelog.txt @@ -55,3 +55,5 @@ Changes since 2.0.1 26) Renamed 'initialized' to 'initdone' 27) Applied Stijn Jonker's fix for "shorewall add" + +28) Correct typo that broke "shorewall delete" diff --git a/Shorewall2/firewall b/Shorewall2/firewall index f8d7c25db..85c5dd586 100755 --- a/Shorewall2/firewall +++ b/Shorewall2/firewall @@ -5242,7 +5242,7 @@ activate_rules() createchain $frwd_chain No fi - if [ -n "$DYNAMIC_CHAINS" ]; then + if [ -n "$DYNAMIC_ZONES" ]; then echo $zone $source_hosts >> ${STATEDIR}/zones echo "$FW $zone $chain1" >> ${STATEDIR}/chains echo "$zone $FW $chain2" >> ${STATEDIR}/chains diff --git a/Shorewall2/releasenotes.txt b/Shorewall2/releasenotes.txt index 5b55d4f85..d29087b13 100755 --- a/Shorewall2/releasenotes.txt +++ b/Shorewall2/releasenotes.txt @@ -28,6 +28,7 @@ Problems Corrected since 2.0.2 Beta 2 source zone is the zone being added to. Thanks to Stijn Jonker for providing this correction. +3) "shorewall delete" returns a warning. ----------------------------------------------------------------------- Issues when migrating from Shorewall 2.0.0 to Shorewall 2.0.1: