Fix http jail template

tags/0.0.1
Daniel Berteaud 12 years ago
parent 42bb3ba3f4
commit 624ad98388
  1. 2
      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'); return "" if ($status ne 'enabled');
my @ports = (); my @ports = ();
push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80'); push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80');

Loading…
Cancel
Save