mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
fix for accounting name
This commit is contained in:
parent
a436004250
commit
499bd5f0e6
@ -7640,8 +7640,8 @@ rule() {
|
|||||||
test ${softwarnings} -eq 1 -a ! -z "${not}" && softwarning "Cannot negate an accounting. 'not' ignored."
|
test ${softwarnings} -eq 1 -a ! -z "${not}" && softwarning "Cannot negate an accounting. 'not' ignored."
|
||||||
if [ ${ENABLE_ACCOUNTING} -eq 1 ]
|
if [ ${ENABLE_ACCOUNTING} -eq 1 ]
|
||||||
then
|
then
|
||||||
accounting="$2"
|
accounting="${1}"
|
||||||
FIREHOL_NFACCT[$accounting]="1"
|
FIREHOL_NFACCT[${accounting}]="1"
|
||||||
elif [ ${ACCOUNTING_WARNING} -eq 1 ]
|
elif [ ${ACCOUNTING_WARNING} -eq 1 ]
|
||||||
then
|
then
|
||||||
softwarning "Accounting is requested, but accounting is disabled. Is nfacct installed?"
|
softwarning "Accounting is requested, but accounting is disabled. Is nfacct installed?"
|
||||||
|
Loading…
Reference in New Issue
Block a user