Work around bug in /bin/ash

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4148 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-06-19 23:59:40 +00:00
parent 4592b58df6
commit 0655a34012
3 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,8 @@ Changes in 3.2.0 RC 5
2) Stop the compiler from running iptables.
3) Avoid problem with ash.
-------------------------------------------------------------------------------
Changes in 3.2.0 RC 4

View File

@ -1431,12 +1431,14 @@ log_rule_limit() # $1 = log level, $2 = chain, $3 = display Chain $4 = dispositi
local displayChain=$3
local disposition=$4
local rulenum=
local limit="${5:-$LOGLIMIT}"
local limit=
local tag=${6:+$6 }
local command=${7:--A}
local prefix
local base=$(chain_base $displayChain)
limit="${5:-$LOGLIMIT}"
shift 7
if [ -n "$tag" -a -n "$LOGTAGONLY" ]; then

View File

@ -43,6 +43,9 @@ Problems Corrected in 3.2.0 RC 5
2) The compiler was running iptables needlessly when DELAYBLACKLISTLOAD=Yes.
This could also result in the blacklist not being loaded in some cases.
3) Some versions of 'ash' generate an error message when a log level is
included in a rule.
Other changes in 3.2.0 RC 5
None.