From f863267f1c409fd75139386ead0774b162dd2b03 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Thu, 3 Jan 2013 10:48:14 +0100 Subject: [PATCH] 3.0: fixed a bad reference in 'fail2ban' configuration --- 3.0/monitorix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.0/monitorix b/3.0/monitorix index 00bae1e..1ce733f 100755 --- a/3.0/monitorix +++ b/3.0/monitorix @@ -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 " \n");