mirror of https://github.com/mikaku/Monitorix.git
3.0: fixed a bad reference in 'fail2ban' configuration
This commit is contained in:
parent
3f6f368abd
commit
f863267f1c
|
@ -301,7 +301,7 @@ EOF
|
|||
next;
|
||||
}
|
||||
if($g eq "fail2ban") {
|
||||
for($n = 0; $n < scalar(my @fail2ban_list = split(',', $config{fail2ban_list})); $n++) {
|
||||
for($n = 0; $n < scalar(my @fail2ban_list = split(',', $config{fail2ban}->{list})); $n++) {
|
||||
my $name = trim($fail2ban_list[$n]);
|
||||
$gname = "_" . $g;
|
||||
print(OUT " <option value='" . $gname . $n . "'>" . $name . "</option>\n");
|
||||
|
|
Loading…
Reference in New Issue