Eliminate shell error during stop/clear

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

View File

@ -105,3 +105,5 @@ Changes in 2.0.14
1) Log drops due to policy rate limiting.
2) Fix typo in interfaces file.
3) Eliminate "bad variable" errors during stop/clear.

View File

@ -1226,7 +1226,7 @@ setup_forwarding() {
# Disable IPV6
#
disable_ipv6() {
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 qt which ip6tables; then
@ -1241,7 +1241,7 @@ disable_ipv6() {
}
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 qt which ip6tables; then

View File

@ -259,3 +259,6 @@ New Features in 2.0.14
Problems corrected in 2.0.14
1) A typo in the /etc/shorewall/interfaces file has been fixed.
2) "bad variable" error messages occurring during "shorewall stop" and
"shorewall clear" have been eliminated.