mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Update check_fail2ban
Removed unnecessary reference to as yet undeclared $jail_name when checking a specific jail.
This commit is contained in:
parent
04c267c307
commit
5428f5bbc3
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ if ($jail_specific) {
|
|||
else {
|
||||
$how_many_banned = int($current_ban_number);
|
||||
$return_print = $how_many_banned.' current banned IP(s) for the specific jail '.$jail_specific;
|
||||
$perf_print .= "$jail_name.currentBannedIP=$current_ban_number " if ($perfdata_value);
|
||||
$perf_print .= "$current_ban_number " if ($perfdata_value);
|
||||
}
|
||||
}
|
||||
### To analyze all the jail
|
||||
|
|
|
|||
Loading…
Reference in a new issue