mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
fix for whitelisting IPs from custom function
This commit is contained in:
parent
30de402230
commit
2351ee4297
@ -721,7 +721,7 @@ blacklist() {
|
||||
blacklist_check ${counter} ${ip} ${tscore} "${@}"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
local d=$[tscore - 1 - BLACKLIST_SCORE]
|
||||
local d=$[tscore + 1 - BLACKLIST_SCORE]
|
||||
tscore=$[tscore - d]
|
||||
comment="score ${tscore} from custom check $[-d] and ${counter} lists:${*}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user