From 624ad98388c7c5fffc2ec06edaf1947a8625311f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 2 May 2013 03:41:02 +0200 Subject: [PATCH] Fix http jail template --- root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd index a9c8cc7..7cffbb0 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service25httpd @@ -1,6 +1,6 @@ { -my $status = $httpd-e-smith{'status'} || 'enabled'; +my $status = ${'httpd-e-smith'}{'status'} || 'enabled'; return "" if ($status ne 'enabled'); my @ports = (); push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80');