Eliminate shell error during stop/clear

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1858 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-12-25 23:19:43 +00:00
parent 15064970d1
commit 159316ca10
3 changed files with 11 additions and 2 deletions

View File

@ -190,3 +190,5 @@ Changes since 2.0.3
92) Add OPENVPNPORT option. 92) Add OPENVPNPORT option.
93) Remove OPENVPNPORT option and change default port to 1194. 93) Remove OPENVPNPORT option and change default port to 1194.
94) Avoid shell error during "shorewall stop/clear"

View File

@ -1364,7 +1364,7 @@ disable_ipv6() {
} }
disable_ipv6_1() { disable_ipv6_1() {
local foo=$(ip -f inet6 addr ls 2> /dev/null) local foo="$(ip -f inet6 addr ls 2> /dev/null)"
if [ -n "$foo" ]; then if [ -n "$foo" ]; then
if qt which ip6tables; then if qt which ip6tables; then

View File

@ -1,4 +1,4 @@
Shorewall 2.2.0-RC2 Shorewall 2.2.0-RC3
---------------------------------------------------------------------- ----------------------------------------------------------------------
Problems Corrected since 2.0.3 Problems Corrected since 2.0.3
@ -192,6 +192,13 @@ Problems corrected since 2.2.0 Beta 8:
1) The syntax of the add and delete command has been clarified in the 1) The syntax of the add and delete command has been clarified in the
help summary produced by /sbin/shorewall. help summary produced by /sbin/shorewall.
Problems corrected since 2.2.0 RC2
1) The following error message could appear during "shorewall stop" or
"shorewall clear":
local: lo:: bad variable name
----------------------------------------------------------------------- -----------------------------------------------------------------------
Issues when migrating from Shorewall 2.0 to Shorewall 2.2: Issues when migrating from Shorewall 2.0 to Shorewall 2.2: