mirror of https://github.com/fail2ban/fail2ban
Update check_fail2ban
Removed unnecessary reference to as yet undeclared $jail_name when checking a specific jail.pull/555/head^2
parent
04c267c307
commit
5428f5bbc3
|
@ -190,7 +190,7 @@ if ($jail_specific) {
|
||||||
else {
|
else {
|
||||||
$how_many_banned = int($current_ban_number);
|
$how_many_banned = int($current_ban_number);
|
||||||
$return_print = $how_many_banned.' current banned IP(s) for the specific jail '.$jail_specific;
|
$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
|
### To analyze all the jail
|
||||||
|
|
Loading…
Reference in New Issue