mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 01:53:27 +01:00
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:
parent
4592b58df6
commit
0655a34012
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user